map<TResult extends Object?> method Null safety

  1. @optionalTypeArgs
TResult map<TResult extends Object?>(
  1. TResult $default(
    1. _SizeAttribute value
    ),
  2. {required TResult height(
    1. HeightAttribute value
    ),
  3. required TResult maxHeight(
    1. MaxHeightAttribute value
    ),
  4. required TResult minHeight(
    1. MinHeightAttribute value
    ),
  5. required TResult width(
    1. WidthAttribute value
    ),
  6. required TResult maxWidth(
    1. MaxWidthAttribute value
    ),
  7. required TResult minWidth(
    1. MinWidthAttribute value
    ),
  8. required TResult gap(
    1. GapAttribute value
    )}
)
@optionalTypeArgs, inherited

Implementation

@optionalTypeArgs
TResult map<TResult extends Object?>(
  TResult Function(_SizeAttribute value) $default, {
  required TResult Function(HeightAttribute value) height,
  required TResult Function(MaxHeightAttribute value) maxHeight,
  required TResult Function(MinHeightAttribute value) minHeight,
  required TResult Function(WidthAttribute value) width,
  required TResult Function(MaxWidthAttribute value) maxWidth,
  required TResult Function(MinWidthAttribute value) minWidth,
  required TResult Function(GapAttribute value) gap,
}) =>
    throw _privateConstructorUsedError;