removeAnimation method
Remove animation with name
.
Implementation
JsonMap removeAnimation(String name) {
final newJson = json;
final animations = newJson['animations'] as JsonMap;
animations.remove(name);
return newJson;
}
Remove animation with name
.
JsonMap removeAnimation(String name) {
final newJson = json;
final animations = newJson['animations'] as JsonMap;
animations.remove(name);
return newJson;
}