whenOrNull<TResult extends Object?> method Null safety

  1. @optionalTypeArgs
TResult? whenOrNull<TResult extends Object?>(
  1. {TResult? w100(
      )?,
    1. TResult? w200(
        )?,
      1. TResult? w300(
          )?,
        1. TResult? w400(
            )?,
          1. TResult? w500(
              )?,
            1. TResult? w600(
                )?,
              1. TResult? w700(
                  )?,
                1. TResult? w800(
                    )?,
                  1. TResult? w900(
                      )?}
                    )
                    @optionalTypeArgs, inherited

                    Implementation

                    @optionalTypeArgs
                    TResult? whenOrNull<TResult extends Object?>({
                      TResult? Function()? w100,
                      TResult? Function()? w200,
                      TResult? Function()? w300,
                      TResult? Function()? w400,
                      TResult? Function()? w500,
                      TResult? Function()? w600,
                      TResult? Function()? w700,
                      TResult? Function()? w800,
                      TResult? Function()? w900,
                    }) =>
                        throw _privateConstructorUsedError;