CreateSessionOutput class

Available extensions
Annotations
  • @freezed

Constructors

CreateSessionOutput.new({required String accessJwt, required String refreshJwt, required String handle, required String did, Map<String, dynamic>? didDoc, String? email, @Default(false) bool emailConfirmed, @Default(false) bool emailAuthFactor, @Default(false) bool active, @UCreateSessionStatusConverter() UCreateSessionStatus? status, @JsonKey(name: r'$unknown') Map<String, dynamic>? $unknown})
const
factory
CreateSessionOutput.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 → $CreateSessionOutputCopyWith<CreateSessionOutput>
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 CreateSessionOutput, provided by the $CreateSessionOutputExtension extension

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

Available on CreateSessionOutput, provided by the $CreateSessionOutputExtension 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 CreateSessionOutput, provided by the $CreateSessionOutputExtension extension

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

Available on CreateSessionOutput, provided by the $CreateSessionOutputExtension extension

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

Available on CreateSessionOutput, provided by the $CreateSessionOutputExtension extension

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

Available on CreateSessionOutput, provided by the $CreateSessionOutputExtension extension

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

Available on CreateSessionOutput, provided by the $CreateSessionOutputExtension extension

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

Available on CreateSessionOutput, provided by the $CreateSessionOutputExtension extension

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

Available on CreateSessionOutput, provided by the $CreateSessionOutputExtension extension

Returns true or false from active.
no setter
isEmailAuthFactor bool

Available on CreateSessionOutput, provided by the $CreateSessionOutputExtension extension

Returns true or false from emailAuthFactor.
no setter
isEmailConfirmed bool

Available on CreateSessionOutput, provided by the $CreateSessionOutputExtension extension

Returns true or false from emailConfirmed.
no setter
isNotActive bool

Available on CreateSessionOutput, provided by the $CreateSessionOutputExtension extension

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

Available on CreateSessionOutput, provided by the $CreateSessionOutputExtension extension

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

Available on CreateSessionOutput, provided by the $CreateSessionOutputExtension extension

Returns negated true or false from emailConfirmed.
no setter
refreshJwt String
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
status UCreateSessionStatus?
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
toSession() Session

Available on CreateSessionOutput, provided by the $CreateSessionOutputExtension extension

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

Operators

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