setAllAsync method

Future<void> setAllAsync(
  1. Map<String, String?> configs
)

Allow to set all values into config values in async function

Implementation

Future<void> setAllAsync(Map<String, String?> configs) async {
  configs.forEach((key, value) {
    setAsync(key, value);
  });
}