whenOrNull<TResult extends Object?> method

  1. @optionalTypeArgs
TResult? whenOrNull<TResult extends Object?>({
  1. TResult? string(
    1. String value
    )?,
  2. TResult? input(
    1. InputType value
    )?,
  3. TResult? enum_(
    1. SchemaEnum value
    )?,
})
inherited

Implementation

@optionalTypeArgs
TResult? whenOrNull<TResult extends Object?>({
  TResult? Function(String value)? string,
  TResult? Function(InputType value)? input,
  TResult? Function(SchemaEnum value)? enum_,
}) =>
    throw _privateConstructorUsedError;