toMap method

Map<String, dynamic> toMap()

Converts to a map value

Implementation

Map<String, dynamic> toMap() {
  return <String, dynamic>{
    'Quantity': quantity,
    'Line': line?.map((x) => x.toMap()).toList(),
    'GroupItemRef': groupItemRef?.toMap(),
  };
}