Skip to content

Instantly share code, notes, and snippets.

View bkonyi's full-sized avatar

Ben Konyi bkonyi

  • Google
  • Waterloo, ON, Canada
View GitHub Profile
import 'package:collection/collection.dart';
class Task {
Task({
required this.startTimestamp,
required this.duration,
});
final String id = '${_id++}';
final int startTimestamp;
/// 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;