toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  return {
    'state': state,
    'totalAmountPaid': totalAmountPaid,
    'totalAmountOutstanding': totalAmountOutstanding,
    'orderTotal': orderTotal,
    'message': message,
  };
}