PaymentResponse.fromMap constructor
Implementation
factory PaymentResponse.fromMap(Map<String, dynamic> map) {
return PaymentResponse(
success: map['success'] != null ? map['success'] as bool : null,
message: map['message'] != null ? map['message'] as String : null,
transactionId:
map['transactionId'] != null ? map['transactionId'] as String : null,
);
}