toJson method

Map<String, Object?> toJson()

Implementation

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

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