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