AttachmentUpdateMetadata.fromJson constructor

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

Implementation

factory AttachmentUpdateMetadata.fromJson(Map<String, Object?> json) {
  return AttachmentUpdateMetadata(
    mediaType: json[r'mediaType'] as String?,
    comment: json[r'comment'] as String?,
  );
}