JsPromptResponse.handled constructor Null safety

JsPromptResponse.handled(
  1. JsPromptResponseAction action,
  2. String value
)

Implementation

factory JsPromptResponse.handled(
  JsPromptResponseAction action,
  String value,
) {
  return JsPromptResponse._(
    null,
    null,
    null,
    null,
    true,
    action,
    value,
  );
}