map<TResult extends Object?> method Null safety

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

Implementation

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