DestinationTest class

Constructors

DestinationTest({String? error, String? message, bool? ok, int? sent})
Returns a new DestinationTest instance.

Properties

error ↔ String?
Error is the platform's rejection, present only on a failed send.
getter/setter pair
hashCode → int
The hash code for this object.
no setteroverride
message ↔ String?
Message is the platform's own note about the send, present only on success.
getter/setter pair
ok ↔ bool?
OK is true when the platform accepted the synthetic event.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sent ↔ int?
Sent is how many events the platform accepted, present only on success.
getter/setter pair

Methods

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

Operators

operator ==(Object other) → bool
The equality operator.
override

Static Methods

fromJson(dynamic value) → DestinationTest?
Returns a new DestinationTest instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) → List<DestinationTest>
mapFromJson(dynamic json) → Map<String, DestinationTest>
mapListFromJson(dynamic json, {bool growable = false}) → Map<String, List<DestinationTest>>

Constants

requiredKeys → const Set<String>
The list of required keys that must be present in a JSON.