TTUserApi class
Thin wrapper around SEA user flows for TTSeaClient consumers.
Constructors
- TTUserApi({required TTSeaClient ttSeaClient})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- isu ↔ UserReference?
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
auth(
{String? alias, String? password, PairReturnType? pair, LoginCallback? cb, dynamic opt = DEFAULT_AUTH_OPTS}) → Future< UserReference> - https://gun.eco/docs/User#user-auth
-
create(
String alias, String password, [LoginCallback? cb, dynamic opt = DEFAULT_CREATE_OPTS]) → Future< UserReference> - https://gun.eco/docs/User#user-create
-
leave(
) → TTUserApi - https://gun.eco/docs/User#user-leave
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
useCredentials(
UserCredentials credentials) → UserReference
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited