map<TResult extends Object?> method
Null safety
- {required TResult none(
- TextDecorationNone value
- required TResult underline(
- TextDecorationUnderline value
- required TResult overline(
- TextDecorationOverline value
- required TResult lineThrough( )}
@optionalTypeArgs, inherited
Implementation
@optionalTypeArgs
TResult map<TResult extends Object?>({
required TResult Function(TextDecorationNone value) none,
required TResult Function(TextDecorationUnderline value) underline,
required TResult Function(TextDecorationOverline value) overline,
required TResult Function(TextDecorationLineThrough value) lineThrough,
}) =>
throw _privateConstructorUsedError;