ApiService<User, UserModel> class abstract

Constructors

ApiService({required BuildContext context})

Properties

authState Stream<UserModel?>
no setter
context BuildContext
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
user → UserModel?
no setter

Methods

dispose() → void
getUser() Future<UserModel>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setToken(String? token) → void
toString() String
A string representation of this object.
inherited

Operators

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