maybeMap<TResult extends Object?> method
TResult
maybeMap<TResult extends Object?>(
- TResult $default(
- _ColorAttribute value
- TResult backgroundColor(
- BackgroundColorAttribute value
- TResult textColor(
- TextColorAttribute value
- TResult shadowColor(
- ShadowColorAttribute value
- TResult borderColor(
- BorderColorAttribute value
- required TResult orElse(),
inherited
Implementation
@optionalTypeArgs
TResult maybeMap<TResult extends Object?>(
TResult Function(_ColorAttribute value)? $default, {
TResult Function(BackgroundColorAttribute value)? backgroundColor,
TResult Function(TextColorAttribute value)? textColor,
TResult Function(ShadowColorAttribute value)? shadowColor,
TResult Function(BorderColorAttribute value)? borderColor,
required TResult orElse(),
}) =>
throw _privateConstructorUsedError;