whenOrNull<TResult extends Object?> method

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

Implementation

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