toJson method

Object toJson()
override

Implementation

Object toJson() => {
      $type: $type.name,
      fileName: fileName,
      contentType: contentType,
      contentMimeType: contentMimeType,
      content: content
    };