when<TResult extends Object?> method

  1. @optionalTypeArgs
TResult when<TResult extends Object?>({
  1. required TResult disabled(),
  2. required TResult unique(),
  3. required TResult limited(
    1. int count
    ),
  4. required TResult all(),
})
inherited

Implementation

@optionalTypeArgs
TResult when<TResult extends Object?>({
  required TResult Function() disabled,
  required TResult Function() unique,
  required TResult Function(int count) limited,
  required TResult Function() all,
}) =>
    throw _privateConstructorUsedError;