toMap method
Implementation
Map<String, List<double>> toMap() => {
'right_rotation': [..._toList(right_rotation), 1],
'left_rotation': [..._toList(left_rotation), 1],
'scale': _toList(scale),
'translation': _toList(translation),
};