TimeRange copyWith(void Function(TimeRange) updates) => super.copyWith((message) => updates(message as TimeRange));