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