when<TResult extends Object?> method

  1. @optionalTypeArgs
TResult when<TResult extends Object?>({
  1. required TResult knownValue(
    1. KnownLabelValueDefinitionBlur data
    ),
  2. required TResult unknownValue(
    1. String data
    ),
})
inherited

Implementation

@optionalTypeArgs
TResult when<TResult extends Object?>({
  required TResult Function(KnownLabelValueDefinitionBlur data) knownValue,
  required TResult Function(String data) unknownValue,
}) =>
    throw _privateConstructorUsedError;