toJson method

Map<String, Object?> toJson()

Implementation

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

  final json = <String, Object?>{};
  if (ari != null) {
    json[r'ari'] = ari;
  }
  json[r'id'] = id;
  json[r'links'] = links.toJson();
  return json;
}