map<TResult extends Object?> method Null safety

  1. @optionalTypeArgs
TResult map<TResult extends Object?>(
  1. {required TResult widget(
    1. WidgetSpan value
    ),
  2. required TResult text(
    1. TextSpan value
    )}
)
@optionalTypeArgs, inherited

Implementation

@optionalTypeArgs
TResult map<TResult extends Object?>({
  required TResult Function(WidgetSpan value) widget,
  required TResult Function(TextSpan value) text,
}) =>
    throw _privateConstructorUsedError;