ApiUpdateNotificationTokenUseCase class

Use case that updates the notification token of the user with the given email. If the email is non-null, it registers the token.

Implemented types

Constructors

ApiUpdateNotificationTokenUseCase(Future<EnergyManagementV3Api> apiFuture, Future<String?> emailFuture, Future<String?> deviceIdFuture, Future<String?> tokenFuture, {required StateController<String?> debugStatusNotifier, bool registerNotificationTokenEnabled = false})
const

Properties

apiFuture Future<EnergyManagementV3Api>
final
debugStatusNotifier StateController<String?>
final
deviceIdFuture Future<String?>
final
emailFuture Future<String?>
final
hashCode int
The hash code for this object.
no setterinherited
registerNotificationTokenEnabled bool
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tokenFuture Future<String?>
final

Methods

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

Operators

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