getBones static method

List<Bone> getBones(
  1. dynamic skeleton
)

Implementation

static List<Bone> getBones( skeleton) {
  return skeleton is List ? skeleton : skeleton.bones;
}