AirpassSyncEngine constructor

AirpassSyncEngine({
  1. required AirpassDatabase database,
  2. required String localNodeId,
  3. required NodeRole localRole,
  4. List<String> localGroupIds = const [],
  5. String? localDisplayName,
  6. int? localBatteryLevel,
  7. bool localHasInternetAccess = false,
})

Implementation

AirpassSyncEngine({
  required AirpassDatabase database,
  required this.localNodeId,
  required this.localRole,
  this.localGroupIds = const [],
  this.localDisplayName,
  this.localBatteryLevel,
  this.localHasInternetAccess = false,
}) : _db = database,
     _signer = MessageSigner(nodeId: localNodeId);