getAll method

Map<String, bool> getAll()

Returns a snapshot map of all registered feature flag names and their current values.

Implementation

Map<String, bool> getAll() {
  final map = <String, bool>{};
  _flags.forEach((k, v) => map[k] = v.value);
  return UnmodifiableMapView(map);
}