toJson method

String toJson()

returns json representation of Thermal object.

Implementation

String toJson() => json.encode(toMap());