2021-02-02 17:17:48 +00:00
|
|
|
import 'package:json_annotation/json_annotation.dart';
|
|
|
|
|
|
|
|
part 'uploaded_multi.g.dart';
|
|
|
|
|
|
|
|
@JsonSerializable()
|
|
|
|
class UploadedMulti {
|
|
|
|
@JsonKey(required: true)
|
|
|
|
final String url;
|
|
|
|
|
|
|
|
@JsonKey(required: true, name: "url_id")
|
|
|
|
final String urlId;
|
|
|
|
|
2021-11-29 23:44:22 +00:00
|
|
|
UploadedMulti({required this.url, required this.urlId});
|
2021-02-02 17:17:48 +00:00
|
|
|
|
|
|
|
// JSON Init
|
2023-01-16 00:44:34 +00:00
|
|
|
factory UploadedMulti.fromJson(Map<String, dynamic> json) =>
|
|
|
|
_$UploadedMultiFromJson(json);
|
2021-02-02 17:17:48 +00:00
|
|
|
|
|
|
|
// JSON Export
|
|
|
|
Map<String, dynamic> toJson() => _$UploadedMultiToJson(this);
|
|
|
|
}
|