BridgeHome constructor

BridgeHome({
  1. required ResourceType type,
  2. required String id,
  3. String idV1 = "",
  4. required List<Relative> children,
  5. required List<Relative> services,
})

Creates a BridgeHome object.

Implementation

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