InboundTransferFailureDetails.fromJson constructor

InboundTransferFailureDetails.fromJson(
  1. Object? json
)

Implementation

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