OutboundPaymentReturnedDetails.fromJson constructor

OutboundPaymentReturnedDetails.fromJson(
  1. Object? json
)

Implementation

factory OutboundPaymentReturnedDetails.fromJson(Object? json) {
  final map = (json as Map).cast<String, Object?>();
  return OutboundPaymentReturnedDetails(
      code: map['code'] == null
          ? null
          : TreasuryOutboundPaymentReturnedDetailsCode.fromJson(map['code']));
}