mapOrNull<TResult extends Object?> method

  1. @optionalTypeArgs
TResult? mapOrNull<TResult extends Object?>({
  1. TResult? nothing(
    1. Nothing<T> value
    )?,
  2. TResult? just(
    1. Just<T> value
    )?,
})
inherited

Implementation

@optionalTypeArgs
TResult? mapOrNull<TResult extends Object?>({
  TResult? Function(Nothing<T> value)? nothing,
  TResult? Function(Just<T> value)? just,
}) =>
    throw _privateConstructorUsedError;