maybeMap<TResult extends Object?> method Null safety

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

    Implementation

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