handlers library

A library that implement handler between file data in Dart object (Map from jsonDecode and List from BodyTemperatureRecordListCsvConverter.csvDecoder (pre-defined CsvToListConverter)) to Profile and BodyTemperatureRecordNode which implemented with ProfileJson and BodyTemperatureRecordNodeCsvRow correspondingly.

Classes

BodyTemperatureRecordListCsv<N extends BodyTemperatureRecordNodeCsvRow>
An implemented List for collecting BodyTemperatureRecordNodeCsvRow.
BodyTemperatureRecordListCsvBase<N extends BodyTemperatureRecordNodeCsvRow>
An implemented BodyTemperatureRecordListCsv that function like a List.
BodyTemperatureRecordNode
A data contains Temperature and recorded DateTime.
BodyTemperatureRecordNodeCsvRow
An implemented BodyTemperatureRecordNode that can be converted to CSV.
Celsius
A common Temperature unit uses most contries and regions.
Fahrenheit
Another unit for describing Temperature in some countries and regions.
Profile
The most basic object to identify user of Tempcord.
ProfileJson
An implementation that allows Profile can be store under JSON format.
Temperature
An object that describe thermal of the animal.
UnmodifiableBodyTemperatureRecordListCsv<N extends BodyTemperatureRecordNodeCsvRow>

Enums

Animal
An Enum that contain supported type of Animal which is warm-blooded.
Classification
Classify does Animal's body Temperature stay a suitable range.

Mixins

BodyTemperatureRecordListCsvMixin<N extends BodyTemperatureRecordNodeCsvRow>
A ListMixin that handle BodyTemperatureRecordNodeCsvRow List based and added converted to CSV feature.

Extensions

AnimalMetadata on Animal
Get a metadata of Animal.

Typedefs

Csv = List<CsvRow>
Define type that how CSV get repersented in Dart object.
CsvAttribute = UnmodifiableListView<String>
A CsvRow that uses for indication each Csv column's metadata.
CsvRow = List<String>
A row that contains data in each index of Csv.
Json = Map<String, dynamic>
Defined type that how JSON get repersented in Dart object.

Exceptions / Errors

CsvRowItemMismatchedError
Subclass of StateError which thrown when at least one BodyTemperatureRecordNodeCsvRow.toCsvRow has inequal items with BodyTemperatureRecordListCsvMixin.attributes.