DarwinAssetPath class
A Darwin (iOS/macOS) only view over an AssetPathEntity.
Obtain it through AssetPathEntity.darwin. Mirrors DarwinAsset for album/folder hierarchy reads that only exist on Apple platforms.
Migration note: this wrapper deliberately keeps no state beyond the wrapped
entity and every member simply forwards to the platform channel. Once the
package's Dart SDK floor reaches 3.3, it can be replaced by a zero-cost
extension type over the same representation type without touching any call
site — asset.darwin.xxx stays byte-for-byte identical:
extension type DarwinAsset(AssetEntity _asset) { ... }
Constructors
- DarwinAssetPath(AssetPathEntity _path)
-
Creates a Darwin view over the given
_path.const
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
-
getParentPathList(
) → Future< List< AssetPathEntity> > - Request the parent folders that contain this album or folder.
-
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