parseAnimations method
Implementation
Map<String,dynamic> parseAnimations(List<Map<String,dynamic>>? json) {
final Map<String,dynamic> animations = {};
if (json != null) {
for (int i = 0; i < json.length; i++) {
final data = json[i];
final clip = AnimationClip.parse(data);
animations[clip.uuid] = clip;
}
}
return animations;
}