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,
    );