toJson method

Map toJson()

Implementation

Map toJson() => {'timestamp': timestamp, 'value': value ?? strValue};