Body.initial constructor
Body.initial()
Creates a default body structure.
Implementation
factory Body.initial() {
return const Body(
parts: [
BodyPart(
id: 'head',
name: 'Head',
children: [
BodyPart(
id: 'headFront',
name: 'Head (Front)',
children: [
BodyPart(id: 'face', name: 'Face'),
BodyPart(id: 'forehead', name: 'Forehead'),
BodyPart(id: 'eyes', name: 'Eyes'),
BodyPart(id: 'nose', name: 'Nose'),
BodyPart(id: 'mouth', name: 'Mouth'),
],
),
BodyPart(id: 'headBack', name: 'Head (Back)'),
BodyPart(id: 'vestibular', name: 'Vestibular System'),
],
),
BodyPart(
id: 'neck',
name: 'Neck',
children: [
BodyPart(id: 'neckFront', name: 'Neck (Front)'),
BodyPart(id: 'neckBack', name: 'Neck (Back)'),
],
),
BodyPart(
id: 'torso',
name: 'Torso',
children: [
BodyPart(id: 'chest', name: 'Chest'),
BodyPart(id: 'upperBack', name: 'Upper Back'),
BodyPart(id: 'abdomen', name: 'Abdomen'),
BodyPart(id: 'lowerBack', name: 'Lower Back'),
],
),
BodyPart(
id: 'arms',
name: 'Arms',
children: [
BodyPart(
id: 'leftArm',
name: 'Left Arm',
children: [
BodyPart(id: 'leftShoulder', name: 'Left Shoulder'),
BodyPart(id: 'leftUpperArm', name: 'Left Upper Arm'),
BodyPart(id: 'leftElbow', name: 'Left Elbow'),
BodyPart(id: 'leftLowerArm', name: 'Left Lower Arm'),
BodyPart(id: 'leftHand', name: 'Left Hand'),
],
),
BodyPart(
id: 'right_arm',
name: 'Right Arm',
children: [
BodyPart(id: 'right_shoulder', name: 'Right Shoulder'),
BodyPart(id: 'right_upper_arm', name: 'Right Upper Arm'),
BodyPart(id: 'right_elbow', name: 'Right Elbow'),
BodyPart(id: 'right_lower_arm', name: 'Right Lower Arm'),
BodyPart(id: 'right_hand', name: 'Right Hand'),
],
),
],
),
BodyPart(
id: 'lower_body',
name: 'Lower Body',
children: [
BodyPart(id: 'pelvis', name: 'Pelvis'),
BodyPart(id: 'buttocks', name: 'Buttocks'),
],
),
BodyPart(
id: 'legs',
name: 'Legs',
children: [
BodyPart(
id: 'leftLeg',
name: 'Left Leg',
children: [
BodyPart(id: 'leftUpperLeg', name: 'Left Upper Leg'),
BodyPart(id: 'leftKnee', name: 'Left Knee'),
BodyPart(id: 'leftLowerLeg', name: 'Left Lower Leg'),
BodyPart(id: 'leftFoot', name: 'Left Foot'),
],
),
BodyPart(
id: 'rightLeg',
name: 'Right Leg',
children: [
BodyPart(id: 'rightUpperLeg', name: 'Right Upper Leg'),
BodyPart(id: 'rightKnee', name: 'Right Knee'),
BodyPart(id: 'rightLowerLeg', name: 'Right Lower Leg'),
BodyPart(id: 'rightFoot', name: 'Right Foot'),
],
),
],
),
],
);
}