IssuingTokenUpdateOptions.fromJson constructor

IssuingTokenUpdateOptions.fromJson(
  1. Object? json
)

Implementation

factory IssuingTokenUpdateOptions.fromJson(Object? json) {
  final map = (json as Map).cast<String, Object?>();
  return IssuingTokenUpdateOptions(
    expand: map['expand'] == null
        ? null
        : (map['expand'] as List<Object?>)
            .map((el) => (el as String))
            .toList(),
    status: TokenStatus.fromJson(map['status']),
  );
}