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