of static method

Implementation

static DirectoryPickerData? of(BuildContext context) {
  return context.dependOnInheritedWidgetOfExactType(
      aspect: DirectoryPickerData);
}