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