Utils class abstract

A utility class that provides helper methods for various operations.

Constructors

Utils()

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Properties

appCacheDirectory ↔ String
getter/setter pair
appPackageName ↔ String
getter/setter pair
isRedisUsed ↔ bool
getter/setter pair
isVerbose ↔ bool
getter/setter pair
projectDirectory ↔ String
getter/setter pair

Static Methods

delay500ms() → Future<void>
Delays the execution for 500 milliseconds.
getDefaultCacheDirectory() → String
Returns the default cache directory based on the user's platform.
getFileName(String path) → String
Retrieves the file name from the given path.
initAppPackageName() → void
Initializes the app package name by reading it from pubspec.yaml.
logHeader(String title) → void
Logs a header title to the console.
reportError(String message) → void