Layer constructor
Layer({})
Implementation
Layer({
required this.id,
required this.tiles,
this.name,
this.layerClass,
this.visible = true,
Vector2? position,
Vector2? offset,
this.opacity = 1,
this.properties,
this.priority = 0,
}) : position = position ?? Vector2.zero(),
offset = offset ?? Vector2.zero();