PushMessageData class
The PushMessageData interface of the Push API provides methods which let you retrieve the push data sent by a server in various formats.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
arrayBuffer(
) → ByteBuffer? - Extracts the data as a ByteBuffer object.
-
blob(
) → Blob? - Extracts the data as a Blob object.
-
json<
T> () → T? - Extracts the data as a JSON object.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
text(
) → String? - Extracts the data as a plain text string.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited