OnlinePaymentDetailsDto.fromJson constructor

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

Implementation

factory OnlinePaymentDetailsDto.fromJson(Map<String, dynamic> json) {
  return OnlinePaymentDetailsDto(
    senderAccountName: json["senderAccountName"] as String?,
    recipientAccountName: json["recipientAccountName"] as String?,
    transactionId: json["transactionId"] as String?,
    type: decodePaymentType(PaymentTypeEnumMap, json["type"] as String),
  );
}