whenOrNull<TResult extends Object?> method Null safety

  1. @optionalTypeArgs
TResult? whenOrNull<TResult extends Object?>(
  1. {TResult? startTop(
      )?,
    1. TResult? miniStartTop(
        )?,
      1. TResult? centerTop(
          )?,
        1. TResult? miniCenterTop(
            )?,
          1. TResult? endTop(
              )?,
            1. TResult? miniEndTop(
                )?,
              1. TResult? startFloat(
                  )?,
                1. TResult? miniStartFloat(
                    )?,
                  1. TResult? centerFloat(
                      )?,
                    1. TResult? miniCenterFloat(
                        )?,
                      1. TResult? endFloat(
                          )?,
                        1. TResult? miniEndFloat(
                            )?,
                          1. TResult? startDocked(
                              )?,
                            1. TResult? miniStartDocked(
                                )?,
                              1. TResult? centerDocked(
                                  )?,
                                1. TResult? miniCenterDocked(
                                    )?,
                                  1. TResult? endDocked(
                                      )?,
                                    1. TResult? miniEndDocked(
                                        )?,
                                      1. TResult? endContained(
                                          )?}
                                        )
                                        @optionalTypeArgs, inherited

                                        Implementation

                                        @optionalTypeArgs
                                        TResult? whenOrNull<TResult extends Object?>({
                                          TResult? Function()? startTop,
                                          TResult? Function()? miniStartTop,
                                          TResult? Function()? centerTop,
                                          TResult? Function()? miniCenterTop,
                                          TResult? Function()? endTop,
                                          TResult? Function()? miniEndTop,
                                          TResult? Function()? startFloat,
                                          TResult? Function()? miniStartFloat,
                                          TResult? Function()? centerFloat,
                                          TResult? Function()? miniCenterFloat,
                                          TResult? Function()? endFloat,
                                          TResult? Function()? miniEndFloat,
                                          TResult? Function()? startDocked,
                                          TResult? Function()? miniStartDocked,
                                          TResult? Function()? centerDocked,
                                          TResult? Function()? miniCenterDocked,
                                          TResult? Function()? endDocked,
                                          TResult? Function()? miniEndDocked,
                                          TResult? Function()? endContained,
                                        }) =>
                                            throw _privateConstructorUsedError;