toJson method

Map<String, Object?> toJson()

Implementation

Map<String, Object?> toJson() {
  var results = this.results;

  final json = <String, Object?>{};
  if (results != null) {
    json[r'results'] = results;
  }
  return json;
}