WallpaperModel class Null safety
Model to create a wallpaper for sharing
Constructors
- WallpaperModel({required WallpaperTypeEnum type, required String path})
-
Wallpaper model
const
- WallpaperModel.asset(String path)
-
Asset wallpaper model with
path
const - WallpaperModel.file(String path)
-
File wallpaper model with
path
const - WallpaperModel.network(String path)
-
Netrwork wallpaper model with
path
const - WallpaperModel.placeholder()
-
Placeholder wallpaper model
const
Properties
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- path → String
-
Path to the wallpaper file
final
-
props
→ List<
Object?> -
Properties to determine equality
read-only, override
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
- stringify → bool?
-
If set to
true
, the toString method will be overridden to output this instance's props. [...]read-only, inherited - type → WallpaperTypeEnum
-
Type of location for wallpaper lookup
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toString(
) → String -
A string representation of this object. [...]
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
inherited