when<TResult extends Object?> method
Null safety
- {required TResult count( ),
- required TResult extend( )}
@optionalTypeArgs, inherited
Implementation
@optionalTypeArgs
TResult when<TResult extends Object?>({
required TResult Function(
int crossAxisCount,
double mainAxisSpacing,
double crossAxisSpacing,
double childAspectRatio,
double? mainAxisExtent)
count,
required TResult Function(
double maxCrossAxisExtent,
double mainAxisSpacing,
double crossAxisSpacing,
double childAspectRatio,
double? mainAxisExtent)
extend,
}) =>
throw _privateConstructorUsedError;