wrap method Null safety

  1. @override
T wrap(
  1. Directory delegate
)
override

Creates a new entity with the same file system and same type as this entity but backed by the specified delegate.

Implementation

@override
T wrap(io.Directory delegate) => wrapDirectory(delegate) as T;