mapOrNull<TResult extends Object?> method Null safety

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

Implementation

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