FieldStats class Null safety

The statistics for a field calculated in the request.

Constructors

FieldStats({int? count, String? max, String? mean, String? min, int? missing, double? stddev, double? sum, double? sumOfSquares})
FieldStats.fromJson(Map<String, dynamic> json)
factory

Properties

count int?
The number of documents that contain a value in the specified field in the result set.
final
hashCode int
The hash code for this object.
read-onlyinherited
max String?
The maximum value found in the specified field in the result set.
final
mean String?
The average of the values found in the specified field in the result set.
final
min String?
The minimum value found in the specified field in the result set.
final
missing int?
The number of documents that do not contain a value in the specified field in the result set.
final
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
stddev double?
The standard deviation of the values in the specified field in the result set.
final
sum double?
The sum of the field values across the documents in the result set. null for date fields.
final
sumOfSquares double?
The sum of all field values in the result set squared.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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