maybeMap<TResult extends Object?> method Null safety

  1. @optionalTypeArgs
TResult maybeMap<TResult extends Object?>(
  1. TResult $default(
    1. _SpaceAttribute value
    )?,
  2. {TResult margin(
    1. MarginAttribute value
    )?,
  3. TResult padding(
    1. PaddingAttribute value
    )?,
  4. required TResult orElse(
      )}
    )
    @optionalTypeArgs, inherited

    Implementation

    @optionalTypeArgs
    TResult maybeMap<TResult extends Object?>(
      TResult Function(_SpaceAttribute value)? $default, {
      TResult Function(MarginAttribute value)? margin,
      TResult Function(PaddingAttribute value)? padding,
      required TResult orElse(),
    }) =>
        throw _privateConstructorUsedError;