Terrain.fromJson constructor

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

Implementation

Terrain.fromJson(Map<String, dynamic> json) {
  name = json['name'];
  tile = json['tile'];
}