toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final Map<String, dynamic> data = <String, dynamic>{};
  data['type'] = type;
  data['company'] = company;
  data['name'] = name;
  data['number'] = number;
  data['message'] = message;
  data['transaction_url'] = transactionUrl;
  data['gateway_id'] = gatewayId;
  data['reference_number'] = referenceNumber;
  return data;
}