mapOrNull<TResult extends Object?> method Null safety

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

Implementation

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