toAnimation method
Implementation
Future<SpriteAnimation> toAnimation({double stepTime = 1}) async {
final sprite = await this;
return SpriteAnimation.spriteList([sprite], stepTime: stepTime);
}
Future<SpriteAnimation> toAnimation({double stepTime = 1}) async {
final sprite = await this;
return SpriteAnimation.spriteList([sprite], stepTime: stepTime);
}