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