CreateTokenResponse.fromJson constructor

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

Implementation

CreateTokenResponse.fromJson(Map<String, dynamic> json) {
  success= json['success'];
  result =
  json['result'] != null ?  Result.fromJson(json['result']) : null;
  merchantReference = json['merchant_reference'];
  signature = json['signature'];
}