TiledReader constructor

TiledReader(
  1. String path
)

Implementation

TiledReader(this.path) {
  _fromServer = path.contains('http');
  _basePath = path.replaceAll(path.split('/').last, '');
  _reader = TiledJsonReader('assets/images/$path');
}