getMap method

Map<String, dynamic> getMap()

Implementation

Map<String, dynamic> getMap() {
  final ret = <String, dynamic>{};
  if (head != null && head!.isNotEmpty) ret['Head'] = _getFloats(head!);
  if (body != null && body!.isNotEmpty) ret['Body'] = _getFloats(body!);
  if (lleg != null && lleg!.isNotEmpty) ret['LeftLeg'] = _getFloats(lleg!);
  if (rleg != null && rleg!.isNotEmpty) ret['RightLeg'] = _getFloats(rleg!);
  if (larm != null && larm!.isNotEmpty) ret['LeftArm'] = _getFloats(larm!);
  if (rarm != null && rarm!.isNotEmpty) ret['RightArm'] = _getFloats(rarm!);
  return ret;
}