TileSetObjectGroup.fromJson constructor
Implementation
TileSetObjectGroup.fromJson(Map<String, dynamic> json) {
drawOrder = json['draworder'];
id = json['id'];
name = json['name'];
if (json['objects'] != null) {
objects = <TileSetObject>[];
json['objects'].forEach((v) {
objects?.add(new TileSetObject.fromJson(v));
});
}
opacity = json['opacity'];
type = json['type'];
visible = json['visible'];
x = json['x'];
y = json['y'];
}