LightStats<T extends num> class

Implementers
Annotations
  • @JsonSerializable()

Constructors

LightStats(int count, num average, T min, T max)
LightStats.fromData(Iterable<T> source)
factory
LightStats.fromJson(Map<String, dynamic> json)
factory

Properties

average num
final
count int
final
hashCode int
The hash code for this object.
no setterinherited
max → T
final
min → T
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() Map<String, dynamic>
toString() String
A string representation of this object.
override
withPrecision(int precision) LightStats<num>

Operators

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

Static Methods

fromStream<T extends num>(Stream<T> source) Future<LightStats<T>>