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