InspectorRequest class final
A protocol request.
{"version": 1, "requestId": "abc", "method": "database.list", "params": {}}
Constructors
- InspectorRequest({required String method, String requestId = '', JsonMap params = const {}, int version = protocolVersion})
-
const
- InspectorRequest.fromJson(Object? json)
-
Parses and validates a request. Throws InspectorException with
ErrorCodes.invalidRequest for malformed input.
factory
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → JsonMap -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited