AttachmentArchiveEntry.fromJson constructor

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

Implementation

factory AttachmentArchiveEntry.fromJson(Map<String, Object?> json) {
  return AttachmentArchiveEntry(
    abbreviatedName: json[r'abbreviatedName'] as String?,
    entryIndex: (json[r'entryIndex'] as num?)?.toInt(),
    mediaType: json[r'mediaType'] as String?,
    name: json[r'name'] as String?,
    size: (json[r'size'] as num?)?.toInt(),
  );
}