AttachmentArchiveItemReadable.fromJson constructor

AttachmentArchiveItemReadable.fromJson(
  1. Map<String, Object?> json
)

Implementation

factory AttachmentArchiveItemReadable.fromJson(Map<String, Object?> json) {
  return AttachmentArchiveItemReadable(
    index: (json[r'index'] as num?)?.toInt(),
    label: json[r'label'] as String?,
    mediaType: json[r'mediaType'] as String?,
    path: json[r'path'] as String?,
    size: json[r'size'] as String?,
  );
}