toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final Map<String, dynamic> data = <String, dynamic>{};
  data['type'] = type;
  data['mobile'] = mobile;
  data['reference_number'] = referenceNumber;
  data['branch'] = branch;
  data['cashier'] = cashier;
  data['transaction_url'] = transactionUrl;
  data['message'] = message;
  return data;
}