map<TResult extends Object?> method

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

Implementation

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