when<TResult extends Object?> method Null safety

  1. @optionalTypeArgs
TResult when<TResult extends Object?>(
  1. {required TResult intrinsic(
    1. double? flex
    ),
  2. required TResult fixed(
    1. double value
    ),
  3. required TResult fraction(
    1. double value
    ),
  4. required TResult flex(
    1. double value
    ),
  5. required TResult max(
    1. TableColumnWidth a,
    2. TableColumnWidth b
    ),
  6. required TResult min(
    1. TableColumnWidth a,
    2. TableColumnWidth b
    )}
)
@optionalTypeArgs, inherited

Implementation

@optionalTypeArgs
TResult when<TResult extends Object?>({
  required TResult Function(double? flex) intrinsic,
  required TResult Function(double value) fixed,
  required TResult Function(double value) fraction,
  required TResult Function(double value) flex,
  required TResult Function(TableColumnWidth a, TableColumnWidth b) max,
  required TResult Function(TableColumnWidth a, TableColumnWidth b) min,
}) =>
    throw _privateConstructorUsedError;