toMap method

Map toMap()

Implementation

Map toMap() {
  return {
    "id": this.id,
    "filename": this.filename,
    "title": this.title,
    "mediumType": mediumTypeToJson(this.mediumType),
    "height": this.height,
    "orientation": this.orientation,
    "mimeType": this.mimeType,
    "width": this.width,
    "creationDate": this.creationDate,
    "modifiedDate": this.modifiedDate,
  };
}