when<TResult extends Object?> method Null safety

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

                                        Implementation

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