AttachmentUpdateContainer.fromJson constructor

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

Implementation

factory AttachmentUpdateContainer.fromJson(Map<String, Object?> json) {
  return AttachmentUpdateContainer(
    id: json[r'id'] as String? ?? '',
    type: json[r'type'] as String? ?? '',
  );
}