toJson method
Implementation
Map<String, dynamic> toJson() {
final Map<String, dynamic> data = Map<String, dynamic>();
data['firstgid'] = this.firsTgId;
data['source'] = this.source;
data['image'] = this.image;
data['tiles'] = this.tiles?.map((e) => e.toJson());
return data;
}