toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
  if (this.formation != null) {
    json[r'formation'] = this.formation;
  } else {
    json[r'formation'] = null;
  }
  if (this.ingested != null) {
    json[r'ingested'] = this.ingested;
  } else {
    json[r'ingested'] = null;
  }
  return json;
}