TempcordDataParser<P extends ProfileJson, N extends BodyTemperatureRecordNodeCsvRow> class
Convert the data between Uint8List and corresponded
TempcordDataConvertedObject (including P
and a List of N
).
- Annotations
-
- @sealed
Constructors
-
TempcordDataParser({required ProfileJsonDataConverter<
P> profileConverter, required BodyTemperatureRecordListCsvConverter<N> btrlConverter, List<GenericTempcordDataConverter> ? additionalConverter}) -
Construct TempcordDataParser.
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- 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
-
readBytes(
Uint8List bytes) → List< TempcordDataConvertedObject< Object> > -
Convert
bytes
to a List of TempcordDataConvertedObject. -
readBytesWithDefinedType(
Uint8List bytes) → Map< Type, TempcordDataConvertedObject< Object> > - More convinence readBytes method that returns a Map with declared Type and parsed TempcordDataConvertedObject.
-
toString(
) → String -
A string representation of this object.
inherited
-
writeBytes(
{required P profile, required BodyTemperatureRecordListCsv< N> btr, List<TempcordDataConvertedObject< ? addition}) → Uint8ListObject> > -
Write TempcordDataConvertedObject to Uint8List with
lzma
compression.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited