CarpApp constructor

CarpApp({
  1. required String name,
  2. required Uri uri,
  3. required OAuthEndPoint oauth,
  4. String? studyDeploymentId,
  5. String? studyId,
})

Create a CarpApp which know how to access a CARP backend.

name, uri, and oauth are required parameters in order to identify, address, and authenticate this client.

A studyDeploymentId and a study may be specified, if known at the creation time.

Implementation

CarpApp({
  required this.name,
  required this.uri,
  required this.oauth,
  this.studyDeploymentId,
  this.studyId,
});