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.depth != null) {
    json[r'depth'] = this.depth;
  } else {
    json[r'depth'] = null;
  }
  if (this.direction != null) {
    json[r'direction'] = this.direction;
  } else {
    json[r'direction'] = null;
  }
  if (this.relation != null) {
    json[r'relation'] = this.relation;
  } else {
    json[r'relation'] = null;
  }
    json[r'seeds'] = this.seeds;
  return json;
}