toJson method

Map<String, dynamic> toJson()
override

Implementation

Map<String, dynamic> toJson() {
  final Map<String, dynamic> data = new Map<String, dynamic>();
  data['id'] = this.id;
  data['elementId'] = this.elementId;
  data['elementType'] = this.elementType;
  data['formInstance'] = this.formInstance;
  data['resourceId'] = this.resourceId;
  data['name'] = this.name;
  data['contentType'] = this.contentType;
  data['contentLength'] = this.contentLength;
  data['storageStatus'] = this.storageStatus;
  data['localFilePath'] = this.localFilePath;
  data['created'] = this.created;
  data['lastUpdated'] = this.lastUpdated;
  data['synced'] = this.synced;
  data['syncFailed'] = this.syncFailed;
  data['lastSyncSummary'] = this.lastSyncSummary;
  data['lastSyncDate'] = this.lastSyncDate;
  data['dirty'] = this.dirty;
  return data;
}