The real directory path a process-based encoder runs in, or null for an in-memory sandbox (a process encoder is never selected there).
null
@override String? get directoryPath => directory.path;