carp_core 0.21.4+3 carp_core: ^0.21.4+3 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 Dart:
$ dart pub add carp_core
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
carp_core: ^0.21.4+3
Alternatively, your editor might support dart 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/data_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_common/service_request.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/data_endpoint.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/application/protocol_classes.dart';
import 'package:carp_core/carp_protocols/application/protocol_service.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/domain/device_connection.dart';
import 'package:carp_core/carp_protocols/domain/device_descriptor.dart';
import 'package:carp_core/carp_protocols/domain/measure.dart';
import 'package:carp_core/carp_protocols/domain/sampling_configuration.dart';
import 'package:carp_core/carp_protocols/domain/study_protocol.dart';
import 'package:carp_core/carp_protocols/domain/task_descriptor.dart';
import 'package:carp_core/carp_protocols/domain/trigger.dart';
import 'package:carp_core/carp_protocols/domain/triggered_task.dart';
import 'package:carp_core/carp_protocols/infrastructure/protocol_requests.dart';