TileModelAnimation.fromMap constructor
Implementation
factory TileModelAnimation.fromMap(Map<String, dynamic> map) {
return TileModelAnimation(
stepTime: map['stepTime'],
frames: map['frames'] != null
? (map['frames'] as List).map((e) {
return TileModelSprite.fromMap(e);
}).toList()
: [],
);
}