getDownloadActionState method

Stream<DonwloadActionState> getDownloadActionState()

Implementation

Stream<DonwloadActionState> getDownloadActionState() {
  return _downloadEventChannel
      .receiveBroadcastStream()
      .map((dynamic event) => _parseDownloadActionState(
            event['state'],
            Map<String, dynamic>.from(event),
          ))
      .asBroadcastStream();
}