WorkerKeysState class
Constructors
-
WorkerKeysState({required Ref<
Object?> ref, required List<WorkerKey> keys})
Properties
-
aliases
→ List<
String> -
Prebuilt list from keys
final
-
apiKeys
→ List<
String> -
Prebuilt list from keys
final
- first → WorkerKey
-
read-only
- firstWorker → Worker
-
read-only
- hashCode → int
-
The hash code for this object.
read-onlyinherited
-
keys
→ List<
WorkerKey> -
final
- last → WorkerKey
-
read-only
- length → int
-
read-only
-
map
→ Iterable<
T> Function<T>(T toElement(WorkerKey e)) -
read-only
-
ref
→ Ref<
Object?> -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
-
workers
→ List<
Worker> -
read-only
Methods
-
add(
WorkerKey key) → Future< bool> -
byAlias(
String? alias) → WorkerKey -
byApiKey(
String apiKey) → WorkerKey -
delete(
WorkerKey key) → Future< bool> -
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
-
operator [](
String? alias) → WorkerKey