RefreshSessionOutput class

Available extensions
Annotations
  • @freezed

Constructors

RefreshSessionOutput.new({required String accessJwt, required String refreshJwt, required String handle, required String did, Map<String, dynamic>? didDoc, @Default(false) bool active, @URefreshSessionStatusConverter() URefreshSessionStatus? status, @JsonKey(name: r'$unknown') Map<String, dynamic>? $unknown})
const
factory
RefreshSessionOutput.fromJson(Map<String, dynamic> json)
factory

Properties

$unknown Map<String, dynamic>?
Contains unknown objects not defined in Lexicon.
no setterinherited
accessJwt String
no setterinherited
active bool
no setterinherited
copyWith → $RefreshSessionOutputCopyWith<RefreshSessionOutput>
no setterinherited
did String
no setterinherited
didDoc Map<String, dynamic>?
no setterinherited
handle String
no setterinherited
hasDidDoc bool

Available on RefreshSessionOutput, provided by the $RefreshSessionOutputExtension extension

Returns true if didDoc is not null, otherwise false.
no setter
hashCode int
The hash code for this object.
no setterinherited
hasNotDidDoc bool

Available on RefreshSessionOutput, provided by the $RefreshSessionOutputExtension extension

Returns true if didDoc is null, otherwise false.
no setter
hasNotStatus bool

Available on RefreshSessionOutput, provided by the $RefreshSessionOutputExtension extension

Returns true if status is null, otherwise false.
no setter
hasNotUnknown bool

Available on RefreshSessionOutput, provided by the $RefreshSessionOutputExtension extension

Returns true if this object has not unknown objects, otherwise false.
no setter
hasStatus bool

Available on RefreshSessionOutput, provided by the $RefreshSessionOutputExtension extension

Returns true if status is not null, otherwise false.
no setter
hasUnknown bool

Available on RefreshSessionOutput, provided by the $RefreshSessionOutputExtension extension

Returns true if this object has unknown objects, otherwise false.
no setter
isActive bool

Available on RefreshSessionOutput, provided by the $RefreshSessionOutputExtension extension

Returns true or false from active.
no setter
isNotActive bool

Available on RefreshSessionOutput, provided by the $RefreshSessionOutputExtension extension

Returns negated true or false from active.
no setter
refreshJwt String
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
status URefreshSessionStatus?
Hosting status of the account. If not specified, then assume 'active'.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
inherited
toSession() Session

Available on RefreshSessionOutput, provided by the $RefreshSessionOutputExtension extension

Returns this object as Session.
toString() String
A string representation of this object.
inherited

Operators

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