LocalFileSystem extension

A namespace local file system utlities.

on
  • Never

Static Methods

devToolsDir() String

Available on Never, provided by the LocalFileSystem extension

Returns the path to the DevTools storage directory.
devToolsFileAsJson(String pathFromDevToolsDir) String?

Available on Never, provided by the LocalFileSystem extension

Returns a DevTools file from the given path as encoded json.
devToolsFileFromPath(String pathFromDevToolsDir) File?

Available on Never, provided by the LocalFileSystem extension

Returns a DevTools file from the given path.
devToolsStoreLocation() String

Available on Never, provided by the LocalFileSystem extension

ensureDevToolsDirectory() → void

Available on Never, provided by the LocalFileSystem extension

Creates the ~/.flutter-devtools directory if it does not already exist.
flutterStoreExists() bool

Available on Never, provided by the LocalFileSystem extension

Whether the flutter store file exists.
maybeMoveLegacyDevToolsStore() → void

Available on Never, provided by the LocalFileSystem extension

Moves the .devtools file to ~/.flutter-devtools/.devtools if the .devtools file exists in the user's home directory.