toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  return {
    "user_tag" : tag,
    "temperature" : temperature,
    "details" : details
  };
}