This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'package:collection/collection.dart'; | |
class Task { | |
Task({ | |
required this.startTimestamp, | |
required this.duration, | |
}); | |
final String id = '${_id++}'; | |
final int startTimestamp; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/// A circular region which represents a geofence. | |
abstract class GeofenceRegion { | |
/// The ID associated with the geofence. | |
/// | |
/// This ID is used to identify the geofence and is required to delete a | |
/// specific geofence. | |
final String id; | |
/// The location (center point) of the geofence. | |
final Location location; |