toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
if (this.schemaVersion != null) {
json[r'schema_version'] = this.schemaVersion;
} else {
json[r'schema_version'] = null;
}
if (this.upload != null) {
json[r'upload'] = this.upload;
} else {
json[r'upload'] = null;
}
return json;
}