otaProgressStream property

Stream<Map<String, dynamic>> get otaProgressStream

Stream of OTA update progress events.

Emits progress updates during firmware updates including:

  • Progress percentage (0-100)
  • Status messages
  • Error information

Implementation

static Stream<Map<String, dynamic>> get otaProgressStream => _otaEvents
    .receiveBroadcastStream()
    .map((e) => Map<String, dynamic>.from(e as Map));