ExtensionResponse class abstract

A response to an ExtensionRequest.

Constructors

ExtensionResponse([dynamic updates(ExtensionResponseBuilder)])
factory

Properties

error → String?
Contains an error, if available.
no setter
hashCode → int
The hash code for this object.
no setterinherited
id → int
Used to associate a response with an ExtensionRequest.
no setter
result → String
Contains a JSON-encoded payload.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
success → bool
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
rebuild(dynamic updates(ExtensionResponseBuilder)) → ExtensionResponse
Rebuilds the instance.
inherited
toBuilder() → ExtensionResponseBuilder
Converts the instance to a builder B.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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

Static Properties

serializer → Serializer<ExtensionResponse>
no setter