ZgpConnectivity constructor

ZgpConnectivity({
  1. required ResourceType type,
  2. required String id,
  3. String idV1 = "",
  4. required Relative owner,
  5. required String status,
  6. required String sourceId,
})

Creates a ZgpConnectivity object.

Implementation

ZgpConnectivity({
  required super.type,
  required super.id,
  this.idV1 = "",
  required this.owner,
  required this.status,
  required this.sourceId,
}) : assert(idV1.isEmpty || Validators.isValidIdV1(idV1),
          '"$idV1" is not a valid `idV1`');