whenOrNull<TResult extends Object?> method

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

Implementation

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