mirror of
https://github.com/nisrulz/flutter-examples.git
synced 2025-11-08 20:50:04 +00:00
14 lines
247 B
Dart
14 lines
247 B
Dart
/// Date period.
|
|
class DatePeriod {
|
|
/// Start of this period.
|
|
final DateTime start;
|
|
|
|
/// End of this period.
|
|
final DateTime end;
|
|
|
|
///
|
|
const DatePeriod(this.start, this.end)
|
|
: assert(start != null),
|
|
assert(end != null);
|
|
}
|