toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
json[r'map_id'] = this.mapId;
json[r'x'] = this.x;
json[r'y'] = this.y;
json[r'layer'] = this.layer;
json[r'conditions'] = this.conditions;
return json;
}