when<TResult extends Object?> method Null safety

  1. @optionalTypeArgs
TResult when<TResult extends Object?>(
  1. {required TResult fixed(
    1. List<Widget> children,
    2. bool addAutomaticKeepAlives,
    3. bool addRepaintBoundaries,
    4. bool addSemanticIndexes,
    5. int semanticIndexOffset
    )}
)
@optionalTypeArgs, inherited

Implementation

@optionalTypeArgs
TResult when<TResult extends Object?>({
  required TResult Function(
          List<Widget> children,
          bool addAutomaticKeepAlives,
          bool addRepaintBoundaries,
          bool addSemanticIndexes,
          int semanticIndexOffset)
      fixed,
}) =>
    throw _privateConstructorUsedError;