maybeMap<TResult extends Object?> method Null safety

  1. @optionalTypeArgs
TResult maybeMap<TResult extends Object?>(
  1. TResult $default(
    1. _Shadow value
    )?,
  2. {TResult box(
    1. BoxShadow value
    )?,
  3. required TResult orElse(
      )}
    )
    @optionalTypeArgs, inherited

    Implementation

    @optionalTypeArgs
    TResult maybeMap<TResult extends Object?>(
      TResult Function(_Shadow value)? $default, {
      TResult Function(BoxShadow value)? box,
      required TResult orElse(),
    }) =>
        throw _privateConstructorUsedError;