Try Set write class on dart like this, but got an error dart(dart_constant_default_value). what happen and what the best way to set default value for DateTime property?
class NewConcern {
NewConcern({
required this.name,
this.description = '',
this.startDate = DateTime.now(),
this.endDate = DateTime.now(),
this.notify = false,
});
String name;
String description;
DateTime startDate;
DateTime endDate;
bool notify;
}