when<TResult extends Object?> method

  1. @optionalTypeArgs
TResult when<TResult extends Object?>(
  1. TResult $default(
    1. Set<String> keys
    ), {
  2. required TResult sendKeyValue(
    1. Object value
    ),
})
inherited

Implementation

@optionalTypeArgs
TResult when<TResult extends Object?>(
  TResult Function(@JsonKey(name: 'keys') Set<String> keys) $default, {
  required TResult Function(Object value) sendKeyValue,
}) =>
    throw _privateConstructorUsedError;