GeneratorResult<T extends ResponseResult?> class
The result produced by a generator.
Clients may not extend, implement or mix-in this class.
Constructors
-
GeneratorResult(T result, List<
Notification> notifications) -
Initialize a newly created generator result with the given
result
andnotifications
.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
notifications
→ List<
Notification> -
The notifications that should be sent to the server. The list will be
empty if there are no notifications.
final
- result → T
-
The result to be sent to the server, or
null
if there is no response, as when the generator is generating a notification.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
sendNotifications(
PluginCommunicationChannel channel) → void -
Use the given communications
channel
to send the notifications to the server. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited