carp_context_package 0.6.3 carp_context_package: ^0.6.3 copied to clipboard
CARP context sampling package. Samples location, activity, weather, and geofence.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add carp_context_package
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
carp_context_package: ^0.6.3
Alternatively, your editor might support flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:carp_context_package/activity_datum.dart';
import 'package:carp_context_package/activity_probe.dart';
import 'package:carp_context_package/air_quality_datum.dart';
import 'package:carp_context_package/air_quality_measure.dart';
import 'package:carp_context_package/air_quality_probe.dart';
import 'package:carp_context_package/context.dart';
import 'package:carp_context_package/context.g.dart';
import 'package:carp_context_package/context_package.dart';
import 'package:carp_context_package/context_transformers.dart';
import 'package:carp_context_package/geofence_datum.dart';
import 'package:carp_context_package/geofence_measure.dart';
import 'package:carp_context_package/geofence_probe.dart';
import 'package:carp_context_package/location_datum.dart';
import 'package:carp_context_package/location_measure.dart';
import 'package:carp_context_package/location_probe.dart';
import 'package:carp_context_package/weather_datum.dart';
import 'package:carp_context_package/weather_measure.dart';
import 'package:carp_context_package/weather_probe.dart';