init method
Opens the file that was given as a reference in the constructor (and creates it if it does not exist).
Implementation
@override
void init() async {
if (!(await _file.exists())) {
_file = await _file.create();
}
_controller.stream.listen(_synchronizedWrite);
}