GetNotificationsUseCase class Null safety

Fetching notifications use case class implementation

Inheritance

Constructors

GetNotificationsUseCase()

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
repository INotificationRepository
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
storage Storage
Local app storage
read / write, inherited

Methods

execute(NoParams params) Future<Either<Failure, List<AppNotification>>>
Execute the use case and return either a Failure when an error has occurred or list of AppNotification
override
getAccessToken() Future<String>
Return the user access_token
inherited
getUserId() Future<String>
Return the user id
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

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