toJson method

Map<String, Object?> toJson()

Implementation

Map<String, Object?> toJson() => {
      'content': content,
      if (mimeType != null) 'mimeType': mimeType,
    };