A response to a service protocol extension RPC.
If the RPC was successful, use ServiceExtensionResponse.result
, otherwise
use ServiceExtensionResponse.error
.
Constants
- extensionError → dynamic
-
Generic extension error code.
-32000
- extensionErrorMax → dynamic
-
Maximum extension provided error code.
-32000
- extensionErrorMin → dynamic
-
Minimum extension provided error code.
-32016
- invalidParams → dynamic
-
Invalid method parameter(s) error code.
-32602
- kExtensionError → dynamic
-
Generic extension error code.
extensionError
- kExtensionErrorMax → dynamic
-
Maximum extension provided error code.
extensionErrorMax
- kExtensionErrorMin → dynamic
-
Minimum extension provided error code.
extensionErrorMin
- kInvalidParams → dynamic
-
Invalid method parameter(s) error code.
invalidParams
Constructors
- ServiceExtensionResponse.error(int errorCode, String errorDetail)
-
Creates an error response to a service protocol extension RPC.
- ServiceExtensionResponse.result(String result)
-
Creates a successful response to a service protocol extension RPC.
Properties
- hashCode → int
-
Get a hash code for this object.
read-only, inherited - runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Operators
-
operator ==(
other) → bool -
The equality operator.
inherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited -
toString(
) → String -
Returns a string representation of this object.
inherited