toJson method

Map<String, dynamic> toJson()

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.job != null) {
    json[r'job'] = this.job;
  } else {
    json[r'job'] = null;
  }
  return json;
}