CreateAttachmentRequest.fromJson constructor

CreateAttachmentRequest.fromJson(
  1. Map _json
)

Implementation

CreateAttachmentRequest.fromJson(core.Map _json)
    : this(
        attachment: _json.containsKey('attachment')
            ? Attachment.fromJson(
                _json['attachment'] as core.Map<core.String, core.dynamic>)
            : null,
      );