toJson method

  1. @override
Map<String, dynamic> toJson()
override

Implementation

@override
Map<String, dynamic> toJson() {
  switch ($$typename) {
    case r'UploadAttachmentOk':
      return (this
              as UploadAttachment$Mutation$UploadAttachment$UploadAttachmentOk)
          .toJson();
    case r'UploadAttachmentError':
      return (this
              as UploadAttachment$Mutation$UploadAttachment$UploadAttachmentError)
          .toJson();
    default:
  }
  return _$UploadAttachment$Mutation$UploadAttachmentToJson(this);
}