maybeMap<TResult extends Object?> method Null safety

  1. @optionalTypeArgs
TResult maybeMap<TResult extends Object?>(
  1. {TResult http(
    1. NetworkHttpRequest value
    )?,
  2. TResult formSubmit(
    1. FormSubmitNetworkRequest value
    )?,
  3. required TResult orElse(
      )}
    )
    @optionalTypeArgs, inherited

    Implementation

    @optionalTypeArgs
    TResult maybeMap<TResult extends Object?>({
      TResult Function(NetworkHttpRequest value)? http,
      TResult Function(FormSubmitNetworkRequest value)? formSubmit,
      required TResult orElse(),
    }) =>
        throw _privateConstructorUsedError;