getAll method
Returns an immutable snapshot map of all registered flag names and their current boolean states.
final snapshot = features.getAll();
print('Active flags: $snapshot');
Implementation
Map<String, bool> getAll() {
final map = <String, bool>{};
_flags.forEach((k, v) => map[k] = v.value);
return UnmodifiableMapView(map);
}