TiledJsonReader

Reader of the Tiled file .json

Usage

To use this plugin, add tiledjsonreadergetdirectory as a dependency in your pubspec.yaml file.

flutter:
  assets:
    - assets/map.json
    - assets/tile_set.json
import 'package:tiledjsonreadergetdirectory/tiledjsonreader.dart';

TiledJsonReader tiled = TiledJsonReader('assets/map.json');
tiled.read().then((map) {
  print(map);
});