toJson method

Map<String, Object?> toJson()

Implementation

Map<String, Object?> toJson() {
  var uris = this.uris;
  var tags = this.tags;
  var metatags = this.metatags;
  var expandable = this.expandable;

  final json = <String, Object?>{};
  if (uris != null) {
    json[r'uris'] = uris.toJson();
  }
  if (tags != null) {
    json[r'tags'] = tags.toJson();
  }
  if (metatags != null) {
    json[r'metatags'] = metatags;
  }
  if (expandable != null) {
    json[r'_expandable'] = expandable;
  }
  return json;
}