TemporaryAttachment.fromJson constructor

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

Implementation

factory TemporaryAttachment.fromJson(Map<String, Object?> json) {
  return TemporaryAttachment(
    temporaryAttachmentId: json[r'temporaryAttachmentId'] as String?,
    fileName: json[r'fileName'] as String?,
  );
}