ToggleableServiceExtension<T extends Object> constructor

ToggleableServiceExtension<T extends Object>({
  1. required String extension,
  2. required T enabledValue,
  3. required T disabledValue,
  4. bool shouldCallOnAllIsolates = false,
  5. bool inverted = false,
})

Implementation

ToggleableServiceExtension({
  required super.extension,
  required T enabledValue,
  required T disabledValue,
  super.shouldCallOnAllIsolates = false,
  this.inverted = false,
}) : super(values: [enabledValue, disabledValue]);