whenOrNull<TResult extends Object?> method

  1. @optionalTypeArgs
TResult? whenOrNull<TResult extends Object?>({
  1. TResult? makeNonNull(
    1. int? maskNb,
    2. String? validationName
    )?,
  2. TResult? makeValid()?,
  3. TResult? makeNull()?,
})
inherited

Implementation

@optionalTypeArgs
TResult? whenOrNull<TResult extends Object?>({
  TResult? Function(int? maskNb, String? validationName)? makeNonNull,
  TResult? Function()? makeValid,
  TResult? Function()? makeNull,
}) =>
    throw _privateConstructorUsedError;