backgroundEvents property
Comprehensive background monitoring events with detailed event types.
Events include comprehensive information about beacon activities:
beacon_turned_on: New favorite beacon detected (power-on)button_pressed: Fast advertising interval detected (button pressed)beacon_normal: Normal advertising interval (standard operation)connection_failed: Failed to connect to beaconinterval_read_failed: Failed to read advertising interval
Each event contains: address, name, rssi, eventType, intervalMs,
latitude, longitude, timestamp
Implementation
static Stream<Map<String, dynamic>> get backgroundEvents {
return _bgEvents.receiveBroadcastStream().map(
(event) => Map<String, dynamic>.from(event as Map),
);
}