toJson method
Implementation
Map<String, dynamic> toJson() {
final startToFireTimeout = this.startToFireTimeout;
final timerId = this.timerId;
final control = this.control;
return {
'startToFireTimeout': startToFireTimeout,
'timerId': timerId,
if (control != null) 'control': control,
};
}