carp_core 0.21.2 carp_core: ^0.21.2 copied to clipboard
The core domain model for the CARP Mobile Sensing Framework in Flutter.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add carp_core
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
carp_core: ^0.21.2
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_core/carp_client/carp_core_client.dart';
import 'package:carp_core/carp_client/client_manager.dart';
import 'package:carp_core/carp_client/device_manager.dart';
import 'package:carp_core/carp_client/study_runtime.dart';
import 'package:carp_core/carp_common/carp_core_common.dart';
import 'package:carp_core/carp_common/serialization.dart';
import 'package:carp_core/carp_data/carp_core_data.dart';
import 'package:carp_core/carp_data/carp_core_data.g.dart';
import 'package:carp_core/carp_data/data.dart';
import 'package:carp_core/carp_data/datapoint.dart';
import 'package:carp_core/carp_data/datatype.dart';
import 'package:carp_core/carp_deployment/application/deployment_service.dart';
import 'package:carp_core/carp_deployment/application/participation_service.dart';
import 'package:carp_core/carp_deployment/carp_core_deployment.dart';
import 'package:carp_core/carp_deployment/carp_core_deployment.g.dart';
import 'package:carp_core/carp_deployment/domain/device_deployment.dart';
import 'package:carp_core/carp_deployment/domain/participation.dart';
import 'package:carp_core/carp_deployment/domain/study_deployment.dart';
import 'package:carp_core/carp_deployment/domain/users.dart';
import 'package:carp_core/carp_deployment/infrastructure/deployment_request.dart';
import 'package:carp_core/carp_deployment/infrastructure/participation_request.dart';
import 'package:carp_core/carp_protocols/carp_core_protocols.dart';
import 'package:carp_core/carp_protocols/carp_core_protocols.g.dart';
import 'package:carp_core/carp_protocols/device_descriptor.dart';
import 'package:carp_core/carp_protocols/measure.dart';
import 'package:carp_core/carp_protocols/protocol_owner.dart';
import 'package:carp_core/carp_protocols/sampling_configuration.dart';
import 'package:carp_core/carp_protocols/study_protocol.dart';
import 'package:carp_core/carp_protocols/task_descriptor.dart';
import 'package:carp_core/carp_protocols/trigger.dart';
import 'package:carp_core/carp_protocols/triggered_task.dart';