JsConfirmCallback typedef Null safety

JsConfirmCallback = FutureOr<JsConfirmResponse> Function(WebViewController, String?)

Implementation

typedef JsConfirmCallback = FutureOr<JsConfirmResponse> Function(
  WebViewController,
  String?,
);