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