Frontend  0.0.0
Loading...
Searching...
No Matches
FakeOtaService Class Reference
Inheritance diagram for FakeOtaService:
Collaboration diagram for FakeOtaService:

Public Member Functions

override void write (Uint8List chunk) async
 

Public Attributes

final _controller = StreamController<Uint8List>()
 
override Future< void > get ready => Future.delayed(const Duration(seconds: 1))
 
override Stream< Uint8List > get stream => _controller.stream
 
- Public Attributes inherited from OtaService
Future< void > get ready
 
Stream< Uint8List > get stream
 

Additional Inherited Members

- Static Public Attributes inherited from OtaService
static const int ack = 0x06
 
static const int nak = 0x15
 

Member Function Documentation

◆ write()

override void FakeOtaService::write ( Uint8List chunk)
inline

Member Data Documentation

◆ _controller

final FakeOtaService::_controller = StreamController<Uint8List>()

◆ ready

override Future<void> get FakeOtaService::ready => Future.delayed(const Duration(seconds: 1))

◆ stream

override Stream<Uint8List> get FakeOtaService::stream => _controller.stream

The documentation for this class was generated from the following file: