AnimationChannel.parse constructor

AnimationChannel.parse(
  1. GltfRoot root,
  2. Map<String, Object?> map
)

Implementation

AnimationChannel.parse(
  GltfRoot root,
  Map<String, Object?> map,
) : this(
        root: root,
        sampler: Parser.integer(map, 'sampler')!,
        target: Parser.object(root, map, 'target', AnimationTarget.parse)!,
      );