GetSessionOutput class

Available extensions
Annotations
  • @freezed

Constructors

GetSessionOutput.new({required String handle, required String did, String? email, @Default(false) bool emailConfirmed, @Default(false) bool emailAuthFactor, Map<String, dynamic>? didDoc, @Default(false) bool active, @UGetSessionStatusConverter() UGetSessionStatus? status, @JsonKey(name: r'$unknown') Map<String, dynamic>? $unknown})
const
factory
GetSessionOutput.fromJson(Map<String, dynamic> json)
factory

Properties

$unknown Map<String, dynamic>?
Contains unknown objects not defined in Lexicon.
no setterinherited
active bool
no setterinherited
copyWith → $GetSessionOutputCopyWith<GetSessionOutput>
no setterinherited
did String
no setterinherited
didDoc Map<String, dynamic>?
no setterinherited
email String?
no setterinherited
emailAuthFactor bool
no setterinherited
emailConfirmed bool
no setterinherited
handle String
no setterinherited
hasDidDoc bool

Available on GetSessionOutput, provided by the $GetSessionOutputExtension extension

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

Available on GetSessionOutput, provided by the $GetSessionOutputExtension extension

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

Available on GetSessionOutput, provided by the $GetSessionOutputExtension extension

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

Available on GetSessionOutput, provided by the $GetSessionOutputExtension extension

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

Available on GetSessionOutput, provided by the $GetSessionOutputExtension extension

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

Available on GetSessionOutput, provided by the $GetSessionOutputExtension extension

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

Available on GetSessionOutput, provided by the $GetSessionOutputExtension extension

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

Available on GetSessionOutput, provided by the $GetSessionOutputExtension extension

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

Available on GetSessionOutput, provided by the $GetSessionOutputExtension extension

Returns true or false from active.
no setter
isEmailAuthFactor bool

Available on GetSessionOutput, provided by the $GetSessionOutputExtension extension

Returns true or false from emailAuthFactor.
no setter
isEmailConfirmed bool

Available on GetSessionOutput, provided by the $GetSessionOutputExtension extension

Returns true or false from emailConfirmed.
no setter
isNotActive bool

Available on GetSessionOutput, provided by the $GetSessionOutputExtension extension

Returns negated true or false from active.
no setter
isNotEmailAuthFactor bool

Available on GetSessionOutput, provided by the $GetSessionOutputExtension extension

Returns negated true or false from emailAuthFactor.
no setter
isNotEmailConfirmed bool

Available on GetSessionOutput, provided by the $GetSessionOutputExtension extension

Returns negated true or false from emailConfirmed.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
status UGetSessionStatus?
If active=false, this optional field indicates a possible reason for why the account is not active. If active=false and no status is supplied, then the host makes no claim for why the repository is no longer being hosted.
no setterinherited

Methods

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

Operators

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