addClip method
dynamic
addClip(
- dynamic rawClip
Implementation
addClip(rawClip) {
var tracks = [];
var scope = this;
rawClip["layer"].forEach((rawTracks) {
tracks.addAll(scope.generateTracks(rawTracks));
});
return AnimationClip(rawClip["name"], -1, List<KeyframeTrack>.from(tracks));
}