toJson method

Map<String, Object?> toJson()

Implementation

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

  final json = <String, Object?>{};
  json[r'attributes'] = attributes.map((i) => i.value).toList();
  return json;
}