toMap method

Map<String, dynamic> toMap()

Map to send to native platform

Implementation

Map<String, dynamic> toMap() => {
      'money': money.toMap(),
      'userInfoString': userInfoString,
      'locationID': locationID,
      'notes': notes,
      'customerID': customerID,
      'supportedTenderTypes':
          supportedTenderTypes?.map((e) => e.mapValue).toList(),
      'returnsAutomaticallyAfterPayment': returnsAutomaticallyAfterPayment
    };