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