reload static method

Future<void> reload()

Update data.

Used to update the data.

Implementation

static Future<void> reload() async {
  if (!isInitialized) {
    debugPrint(
      "It has not been initialized. Please initialize it by executing [initialize()].",
    );
    return;
  }
  await _preferences?.reload();
}