AttachmentDetails.fromJson constructor

AttachmentDetails.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory AttachmentDetails.fromJson(Map<String, dynamic> json) {
  return AttachmentDetails(
    attachmentId: json['attachmentId'] as String?,
    fileName: json['fileName'] as String?,
  );
}