JsPromptCallback typedef Null safety

JsPromptCallback = FutureOr<JsPromptResponse> Function(WebViewController, String?, String?)

Implementation

typedef JsPromptCallback = FutureOr<JsPromptResponse> Function(
  WebViewController,
  String?,
  String?,
);