ResponseInputRawJson class

Raw JSON input from output items (e.g. compact output).

This passes through a list of JSON maps directly as API input, avoiding the need for typed Item wrappers. Compact output item JSON is valid API input, so this enables ResponseCompaction.toInput() without introducing new Item subtypes.

Inheritance
Annotations
  • @immutable

Constructors

ResponseInputRawJson(List<Map<String, dynamic>> items)
Creates raw JSON input from a list of JSON maps.
const

Properties

hashCode int
The hash code for this object.
no setteroverride
items List<Map<String, dynamic>>
The raw JSON maps representing output items.
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
toJson() Object
Converts to JSON format expected by the API.
override
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
override