toTile method

Tile toTile()

Implementation

Tile toTile() =>
    Tile(layers: layers.map((e) => e.toTileLayer()).toList(growable: false));