toJson method

Map<String, dynamic> toJson()

Implementation

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