toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
  if (this.contentType != null) {
    json[r'contentType'] = this.contentType;
  } else {
    json[r'contentType'] = null;
  }
  if (this.filename != null) {
    json[r'filename'] = this.filename;
  } else {
    json[r'filename'] = null;
  }
    json[r'base64Contents'] = this.base64Contents;
  return json;
}