Transaction.fromJson constructor

Transaction.fromJson(
  1. Map<String, dynamic> json
)

Implementation

Transaction.fromJson(Map<String, dynamic> json) {
  kind = json['kind'];
  status = json['status'];
  amount = json['amount'];
  currency = json['currency'];
  gateway = json['gateway'];
  test = json['test'];
}