BankAccountVerifyOptions.fromJson constructor
BankAccountVerifyOptions.fromJson(
- Object? json
Implementation
factory BankAccountVerifyOptions.fromJson(Object? json) {
final map = (json as Map).cast<String, Object?>();
return BankAccountVerifyOptions(
amounts: map['amounts'] == null
? null
: (map['amounts'] as List<Object?>)
.map((el) => (el as num).toInt())
.toList(),
expand: map['expand'] == null
? null
: (map['expand'] as List<Object?>)
.map((el) => (el as String))
.toList(),
);
}