Remote class
Represents a link to a remote Repository in memory
- Available extensions
Constructors
- Remote.new(Repository repository, String name, String url)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- isPath → bool
-
no setter
- name → String
-
final
- remote → RemoteData?
-
Available on Remote, provided by the RemoteCommons extension
Fetches a Remote with a name from a remoteFileno setter - remoteData → RemoteMetaData
-
Available on Remote, provided by the RemoteStorage extension
Returns a RemoteMetaData in a remoteFile If it doesn't exists, it will create itno setter - remoteFile → File
-
Available on Remote, provided by the RemoteCommons extension
Actual File for the RemoteMetaDatano setter - remoteFileExists → bool
-
Available on Remote, provided by the RemoteCommons extension
Checks if a remoteFileExistsno setter - remoteFilePath → String
-
Available on Remote, provided by the RemoteCommons extension
Path to a remoteFileno setter - repository → Repository
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- url → String
-
final
Methods
-
addRemote(
{dynamic onRemoteAlreadyExists()? = onRemoteAlreadyExists}) → void -
Available on Remote, provided by the RemoteActions extension
Adds a RemoteData into a remoteFile The function is idempotent -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
removeRemote(
{dynamic onRemoteDoesntExists()? = onRemoteDoesntExists}) → void -
Available on Remote, provided by the RemoteActions extension
Removes a RemoteData into a remoteFile The function is idempotent -
saveRemoteData(
RemoteMetaData metaData) → RemoteMetaData -
Available on Remote, provided by the RemoteStorage extension
Persists ametaData
into a remoteFile -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited