isClosed property Null safety

bool isClosed

Implementation

bool get isClosed => _onData == null;