mapOrNull<TResult extends Object?> method Null safety

  1. @optionalTypeArgs
TResult? mapOrNull<TResult extends Object?>(
  1. TResult? $default(
    1. _VisualDensity value
    )?,
  2. {TResult? adaptivePlatformDensity(
    1. AdaptivePlatformDensity value
    )?}
)
@optionalTypeArgs, inherited

Implementation

@optionalTypeArgs
TResult? mapOrNull<TResult extends Object?>(
  TResult? Function(_VisualDensity value)? $default, {
  TResult? Function(AdaptivePlatformDensity value)? adaptivePlatformDensity,
}) =>
    throw _privateConstructorUsedError;