14 lines
315 B
Dart
14 lines
315 B
Dart
class MediaAttachmentModel {
|
|
late String type;
|
|
late String url;
|
|
late String previewUrl;
|
|
late String? description;
|
|
|
|
MediaAttachmentModel.fromJson(Map<String, dynamic> json) {
|
|
url = json["url"];
|
|
previewUrl = json["preview_url"];
|
|
type = json["type"];
|
|
description = json["description"];
|
|
}
|
|
}
|