isOpen property Null safety

bool isOpen

Implementation

bool get isOpen => _file != null;