StatisticDefinition class final

Represents a type used for defining a statistic to be queried for in the table.

Implemented types

Constructors

StatisticDefinition.new({required String onFieldName, required StatisticType statisticType, String outputAlias = ''})
Creates a statistic definition. A statistic definition must specify a field name and statistic type. Optionally, you can provide a name for the output statistic result.
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
onFieldName ↔ String
The name of the field in the table containing values to be used for the statistic.
getter/setter pair
outputAlias ↔ String
The name for this statistic in the results.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
statisticType ↔ StatisticType
The statistic to calculate.
getter/setter pair

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