QueryDataSet class

A DataSet with a query.

When a DataSet is used as a request to the server, a query can be specified for the response DataSet.

Inheritance

Constructors

QueryDataSet(String? name)
QueryDataSet.empty()

Properties

hashCode int
The hash code for this object.
no setterinherited
headerQuery RecordList
It is a RecordList that specifies the query to the header.
no setter
name String?
Name of this DataSet.
getter/setter pairinherited
nestedRecordListQuery RecordList
It is a RecordList that specifies the query to the nested list.
no setter
nestedRecordQuery RecordList
It is a RecordList that specifies the query to the nested header.
no setter
recordListQuery RecordList
It is a RecordList that specifies the query to the lsit.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

clear() → void
Clear the data. The set schema information will not be cleared.
inherited
clone([bool isDeep = false]) DataSet
Clone the data.
inherited
cloneEmpty() DataSet
inherited
createNestedRecord(String name) Record
Creates a nested Record with the specified name.
inherited
createNestedRecordList(String name) RecordList
Creates a nested RecordList with the specified name.
inherited
fromList(Map<String, dynamic>? map, {bool isListHeader = true, bool isListRecordList = true}) DataSet
Read DataSet from the Map which has Record and RecordList expressed in List format.
inherited
fromMap(Map<String, Object?>? map) DataSet
Read DataSet from the Map which has Record and RecordList expressed in Map format.
inherited
getHeader([String? name]) Record?
Get the header of the specified name.
inherited
getRecordList([String? name]) RecordList?
Get the list of the specified name.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setHeader(Record record, [String? name]) → void
Set the header of the specified name to the specified value.
inherited
setHeaderSchema(RecordSchema schema, [String? name]) → void
Define the schema of the header part Record, which is a one-dimensional data structure.
inherited
setNestedRecordListSchema(RecordSchema schema, String name) → void
Define a schema for RecordList to be nested as a field in Record or RecordList.
inherited
setNestedRecordSchema(RecordSchema schema, String name) → void
Define a schema for Record to be nested as a field in Record or RecordList.
inherited
setRecordList(RecordList list, [String? name]) → void
Set the lsit of the specified name to the specified value.
inherited
setRecordListSchema(RecordSchema schema, [String? name]) → void
Define the schema of the list part RecordList, which is a two-dimensional data structure.
inherited
toList({bool hasNull = true, bool isOutputSchema = false, bool toJsonType = false, bool isListHeader = true, bool isListRecordList = true}) Map<String, Object>
Outputs a map with Record and RecordList expressed in List format.
inherited
toMap({bool hasNull = true, bool isOutputSchema = false, bool toJsonType = false}) Map<String, Object>
Outputs a map with Record and RecordList expressed in Map format.
inherited
toString() String
A string representation of this object.
inherited

Operators

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