MessageResult class
Provides information about the results of sending a message directly to an endpoint address.
Constructors
- MessageResult({required DeliveryStatus deliveryStatus, required int statusCode, String? messageId, String? statusMessage, String? updatedToken})
-
MessageResult.fromJson(Map<
String, dynamic> json) -
factory
Properties
- deliveryStatus → DeliveryStatus
-
The delivery status of the message. Possible values are:
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- messageId → String?
-
The unique identifier for the message that was sent.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- statusCode → int
-
The downstream service status code for delivering the message.
final
- statusMessage → String?
-
The status message for delivering the message.
final
- updatedToken → String?
-
For push notifications that are sent through the GCM channel, specifies
whether the endpoint's device registration token was updated as part of
delivering the message.
final
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