map<TResult extends Object?> method Null safety

  1. @optionalTypeArgs
TResult map<TResult extends Object?>(
  1. {required TResult none(
    1. TextDecorationNone value
    ),
  2. required TResult underline(
    1. TextDecorationUnderline value
    ),
  3. required TResult overline(
    1. TextDecorationOverline value
    ),
  4. required TResult lineThrough(
    1. TextDecorationLineThrough value
    )}
)
@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;