AttachmentItem.fromJson constructor

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

Implementation

factory AttachmentItem.fromJson(Map<String, dynamic> json) {
  return AttachmentItem(
    attachmentId: json['AttachmentId'] as String?,
    attachmentName: json['AttachmentName'] as String?,
    contentType: json['ContentType'] as String?,
    status: (json['Status'] as String?)?.toArtifactStatus(),
  );
}