getAnimationModel method
Implementation
AnimationModel? getAnimationModel(String id) {
if (animations == null) return null;
var models = animations!.where((model) => model.id == id);
return (models.isNotEmpty) ? models.first : null;
}
AnimationModel? getAnimationModel(String id) {
if (animations == null) return null;
var models = animations!.where((model) => model.id == id);
return (models.isNotEmpty) ? models.first : null;
}