Checkpoint constructor

const Checkpoint({
  1. required String id,
  2. required String name,
  3. String? assetId,
  4. List<Waypoint>? waypoints,
  5. bool? isActive,
  6. List<Access>? access,
  7. List<LinkedAssetToCheckpointId>? linkedAssetsIds,
})

Implementation

const factory Checkpoint({
  /// ID of the checkpoint entity. This ID is unique.
  required String id,

  /// Name of the checkpoint.
  required String name,

  /// Asset tag ID of the checkpoint.
  String? assetId,

  /// List of waypoints in the checkpoint. See the documention of the Type.
  List<Waypoint>? waypoints,

  /// Boolean value that determines if the checkpoint is active.
  bool? isActive,

  /// List of custom access permissions.
  List<Access>? access,

  /// IDs of the linked Assets.
  List<LinkedAssetToCheckpointId>? linkedAssetsIds,
}) = _Checkpoint;