toJson method
Converts this object into JSON format.
Implementation
Map<String, dynamic> toJson() {
return {
ApiFields.signal: signal,
ApiFields.signalValues: signalValues,
ApiFields.estimatedEnd: DateTimeTool.toHueString(estimatedEnd),
};
}