DFTile.fromJson constructor

DFTile.fromJson(
  1. Map<String, dynamic> json
)

Implementation

DFTile.fromJson(Map<String, dynamic> json) {
  firsTgId = json['firstgid'];
  columns = json['columns'];
  image = json['image'];
  imageHeight = json['imageheight'];
  imageWidth = json['imagewidth'];
  margin = json['margin'];
  name = json['name'];
  spacing = json['spacing'];
  tileCount = json['tilecount'];
  tileHeight = json['tileheight'];
  tileWidth = json['tilewidth'];
}