JsAlertCallback typedef Null safety

JsAlertCallback = FutureOr<JsAlertResponse> Function(WebViewController, String?)

Implementation

typedef JsAlertCallback = FutureOr<JsAlertResponse> Function(
  WebViewController,
  String?,
);