FundingInstructions.fromJson constructor

FundingInstructions.fromJson(
  1. Object? json
)

Implementation

factory FundingInstructions.fromJson(Object? json) {
  final map = (json as Map).cast<String, Object?>();
  return FundingInstructions(
    bankTransfer:
        FundingInstructionsBankTransfer.fromJson(map['bank_transfer']),
    currency: (map['currency'] as String),
    livemode: (map['livemode'] as bool),
  );
}