FileDataObject class abstract
Base class for adding data to DataSource from the files available in the local system.
This class should not be directly used to add data as this is a abstract
class.
Instead its derivative classes should be used: FileObject, DirectoryFiles
- Implementers
Constructors
- FileDataObject()
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- minCliVersion → String
-
no setter
- 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
-
process(
) → Future< Map< String, dynamic> > -
Internal method used by dash_agent to convert the shared
DataSource
to json format that can be sent on the web -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromDirectory(
Directory directory, {bool includePaths = false, String? relativeTo, RegExp? regex}) → DirectoryFiles - static method to create and return DirectoryFiles. It takes following argument:
-
fromFile(
File file, {bool includePath = false, String? relativeTo}) → FileObject - static method to create and return FileObject. It takes following argument: