channel property Null safety

T? channel

The channel of the running application.

Use this property to access the channel and its properties during startup or tests.

Implementation

T? get channel => application!.channel;