DescribeAttachmentResponse.fromJson constructor

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

Implementation

factory DescribeAttachmentResponse.fromJson(Map<String, dynamic> json) {
  return DescribeAttachmentResponse(
    attachment: json['attachment'] != null
        ? Attachment.fromJson(json['attachment'] as Map<String, dynamic>)
        : null,
  );
}