D1RawResponse class
Response from D1 API
Constructors
-
D1RawResponse({required List<
D1ResponseInfo> errors, required List<D1ResponseInfo> messages, required List<D1RawQueryResult> result, required bool success}) -
Response from D1 API
const
-
D1RawResponse.fromJson(Map<
String, dynamic> json) -
Creates a D1RawResponse from JSON data.
factory
Properties
-
errors
→ List<
D1ResponseInfo> -
Errors
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
messages
→ List<
D1ResponseInfo> -
Messages
final
-
result
→ List<
D1RawQueryResult> -
All the results from the query
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- success → bool
-
Whether the request was successful
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited