GetIssuingTokensResponse.fromJson constructor

GetIssuingTokensResponse.fromJson(
  1. Object? json
)

Implementation

factory GetIssuingTokensResponse.fromJson(Object? json) {
  final map = (json as Map).cast<String, Object?>();
  return GetIssuingTokensResponse(
    data: (map['data'] as List<Object?>)
        .map((el) => IssuingToken.fromJson(el))
        .toList(),
    hasMore: (map['has_more'] as bool),
    url: (map['url'] as String),
  );
}