map<TResult extends Object?> method Null safety

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

Implementation

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