TreasuryInboundTransfersResourceFailureDetails.fromJson constructor

TreasuryInboundTransfersResourceFailureDetails.fromJson(
  1. Object? json
)

Implementation

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