fetchAllFailed method
Fetch all of the Philip's Hue devices on the network that this device has permission to fetch which failed to be fetched in the last fetch.
decrypter
When the old tokens are read from local storage, they are
decrypted. This parameter allows you to provide your own decryption
method. This will be used in addition to the default decryption method.
This will be performed after the default decryption method.
If this method fails to fetch a resource with an error, the resource will be added back to the failedFetches list.
Implementation
Future<void> fetchAllFailed({
String Function(String ciphertext)? decrypter,
}) async {
for (final ResourceType type in ResourceType.values) {
fetchAllFailedType(type, decrypter: decrypter);
}
}