IntrospectionResponse class

Constructors

IntrospectionResponse({bool? active, String? scope, String? clientId, IntrospectionResponseTokenTypeEnum? tokenType, int? exp, int? iat, String? sub})
Returns a new IntrospectionResponse instance.

Properties

active bool?
Whether the token is active
getter/setter pair
clientId String?
Client that the token was issued to
getter/setter pair
exp int?
Token expiration (Unix timestamp)
getter/setter pair
hashCode int
The hash code for this object.
no setteroverride
iat int?
Token issued at (Unix timestamp)
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scope String?
Token scopes
getter/setter pair
sub String?
Subject (user ID)
getter/setter pair
tokenType IntrospectionResponseTokenTypeEnum?
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
override

Static Methods

fromJson(dynamic value) IntrospectionResponse?
Returns a new IntrospectionResponse instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) List<IntrospectionResponse>
mapFromJson(dynamic json) Map<String, IntrospectionResponse>
mapListFromJson(dynamic json, {bool growable = false}) Map<String, List<IntrospectionResponse>>

Constants

requiredKeys → const Set<String>
The list of required keys that must be present in a JSON.