Map<String, dynamic> toMap() { return <String, dynamic>{ 'startTimeVal': startTimeVal, 'timeUnit': timeUnit, }; }