init method
Initializes the signal by loading the value from the store.
Implementation
Future<void> init() async {
try {
super.value = await load();
} catch (e) {
rethrow;
} finally {
loaded = true;
}
}
Initializes the signal by loading the value from the store.
Future<void> init() async {
try {
super.value = await load();
} catch (e) {
rethrow;
} finally {
loaded = true;
}
}