map<TResult extends Object?> method

  1. @optionalTypeArgs
TResult map<TResult extends Object?>({
  1. required TResult unknown(
    1. UnknownTokenValue value
    ),
  2. required TResult dimension(
    1. SizeTokenValue value
    ),
  3. required TResult color(
    1. ColorTokenValue value
    ),
  4. required TResult radius(
    1. RadiusTokenValue value
    ),
  5. required TResult spacing(
    1. SpacingTokenValue value
    ),
  6. required TResult fontStyle(
    1. FontStyleTokenValue value
    ),
  7. required TResult icon(
    1. IconTokenValue value
    ),
})
inherited

Implementation

@optionalTypeArgs
TResult map<TResult extends Object?>({
  required TResult Function(UnknownTokenValue value) unknown,
  required TResult Function(SizeTokenValue value) dimension,
  required TResult Function(ColorTokenValue value) color,
  required TResult Function(RadiusTokenValue value) radius,
  required TResult Function(SpacingTokenValue value) spacing,
  required TResult Function(FontStyleTokenValue value) fontStyle,
  required TResult Function(IconTokenValue value) icon,
}) =>
    throw _privateConstructorUsedError;