toJson method

dynamic toJson()

Implementation

dynamic toJson() => {
      'name': name,
      'mimeType': mimeType,
      'fileBase64': data == null ? null : base64Encode(data),
      'transferEncoding': '$contentTransferEncoding'
    };