maybeMap<TResult extends Object?> method Null safety

  1. @optionalTypeArgs
TResult maybeMap<TResult extends Object?>(
  1. {TResult count(
    1. SliverGridDelegateWithFixedCrossAxisCount value
    )?,
  2. TResult extend(
    1. SliverGridDelegateWithMaxCrossAxisExtent value
    )?,
  3. required TResult orElse(
      )}
    )
    @optionalTypeArgs, inherited

    Implementation

    @optionalTypeArgs
    TResult maybeMap<TResult extends Object?>({
      TResult Function(SliverGridDelegateWithFixedCrossAxisCount value)? count,
      TResult Function(SliverGridDelegateWithMaxCrossAxisExtent value)? extend,
      required TResult orElse(),
    }) =>
        throw _privateConstructorUsedError;