JsCaptchaMessage class

A JavaScript interop binding for the captcha message object.

This represents the structure of messages posted from the ArCaptcha JavaScript widget into Flutter's Web environment.

Expected shape:

{ type: "success" | "error", payload: "token-or-error" }
Available extensions
Annotations
  • @JS()
  • @staticInterop

Constructors

JsCaptchaMessage.new()

Properties

hashCode int
The hash code for this object.
no setterinherited
payload JSString?

Available on JsCaptchaMessage, provided by the JsCaptchaMessageExt extension

Payload of the message (captcha token on success, error details otherwise).
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type JSString?

Available on JsCaptchaMessage, provided by the JsCaptchaMessageExt extension

Message type coming from JS (e.g., "success" or "error").
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited