StudyDeploymentStatus class Null safety
A StudyDeploymentStatus represents the status of a deployment as returned from the CARP web service.
- Inheritance
-
- Object
- Serializable
- StudyDeploymentStatus
- Annotations
-
- @JsonSerializable(fieldRename: FieldRename.none, includeIfNull: false)
Constructors
-
StudyDeploymentStatus({required String studyDeploymentId, List<
DeviceDeploymentStatus> devicesStatus = const []}) -
StudyDeploymentStatus.fromJson(Map<
String, dynamic> json) -
factory
Properties
- $type ↔ String?
-
The runtime class name (type) of this object.
Used for deserialization from JSON objects.
read / write, inherited
-
devicesStatus
↔ List<
DeviceDeploymentStatus> -
The list of all devices part of this study deployment and their status.
read / write
- fromJsonFunction → Function
-
The function which can convert a JSON string to an object of this type.
read-only, override
- hashCode → int
-
The hash code for this object.
read-only, inherited
- jsonType → String
-
Return the $type to be used for JSON serialization of this class.
Default is runtimeType. Only specify this if you need another type.
read-only, override
- masterDeviceStatus → DeviceDeploymentStatus?
-
The DeviceDeploymentStatus for the master device of this deployment,
which is typically this phone.
read-only
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
- startTime ↔ DateTime?
-
The time when the study deployment was ready for the first
time (all devices deployed); null otherwise.
read / write
- status ↔ StudyDeploymentStatusTypes
-
The status of this device deployment:
@JsonKey(ignore: true), read / write
- studyDeploymentId ↔ String
-
The CARP study deployment ID.
read / write
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
Return a JSON encoding of this object.
override
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited