toJson method
Implementation
Map<String, dynamic> toJson() => {
'id': this.id,
'name': this.name,
'settable': this.settable,
'retained': this.retained,
'unit': this.unit,
'datatype': this.datatype,
'format': this.format
};