ReducedLookUpField class

Inheritance

Constructors

ReducedLookUpField({required String id, String? key, required String name, LinkMap links = const {}, dynamic schema, required Uri referencesField, required Uri lookUpField, required GridField reducedField, required String reduceFunction})
Creates a new GridField for DataType.reducedLookUp
const

Properties

hashCode int
The hash code for this object.
no setteroverride
id String
id of the field
finalinherited
key String?
A key associated with this field
finalinherited
Links that are associated with this GridField
finalinherited
lookUpField Uri
The field that is looked up
final
name String
name of the field
finalinherited
reducedField GridField
A rough version of the reduced Field. This is not necessarily the full field
final
reduceFunction String
The function that is used to reduce the fields. E.g sum for summing numeric values
final
referencesField Uri
An uri pointing to the field that is used to look up
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
schema → dynamic
json Schema of this GridField
finalinherited
type DataType
type of the field
finalinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Converts this GridField to a json representation
override
toString() String
A string representation of this object.
override

Operators

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