BodyTemperatureRecordListCsvConverter<N extends BodyTemperatureRecordNodeCsvRow> class
abstract
A TempcordDataConverter for handle conversion between BodyTemperatureRecordListCsv and a String of 2D List.
It predefined ListToCsvConverter
and CsvToListConverter
which suppose to
be used for standarise file data and discourage to use custom constructed
converter.
The expected result should be liked this:
temp,unit,recordedAt
36.0,℃,2021-02-23T09:02:42.000Z
35.9,℃,2021-04-13T13:34:59.000Z
37.1,℃,2021-12-09T03:17:20.000Z
- Implemented types
Constructors
- BodyTemperatureRecordListCsvConverter()
-
Construct converter for converting BodyTemperatureRecordListCsv.
const
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
-
decodeData(
String dataStr) → BodyTemperatureRecordListCsv< N> -
Decode
dataStr
to objectTO
.override -
encodeData(
BodyTemperatureRecordListCsv< N> data) → String -
Encode
data
to stringified underT
format.override -
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
Constants
- csvDecoder → const CsvToListConverter
- Provided converter that convert CSV String to List.
- csvEncoder → const ListToCsvConverter
- Provided converter that convert List to CSV String.