toJson method

Map<String, Object?> toJson()

Implementation

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

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