PaymentResponse.fromJson constructor
Implementation
factory PaymentResponse.fromJson(Map<String, dynamic> json) {
return PaymentResponse(
success: json['success'] as bool,
code: json['code'] as String,
message: json['message'] as String,
data: PaymentData.fromJson(json['data'] as Map<String, dynamic>),
);
}