TileModelSprite.fromMap constructor

TileModelSprite.fromMap(
  1. Map<String, dynamic> map
)

Implementation

factory TileModelSprite.fromMap(Map<String, dynamic> map) {
  return new TileModelSprite(
    path: map['path'],
    row: map['row'],
    column: map['column'],
    width: map['width'],
    height: map['height'],
  );
}