init method

Future<void> init()

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;
  }
}