AddTileResult class

Result when asking to add a tile

Constructors

AddTileResult({required bool success, String? errorDescription})

Properties

errorDescription String?
Description of the error. It will used only to explain with drawable has not been found for now.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
success bool
success will be false when quick_settings can't find your drawable. Otherwise, it will be true. A limitation from the native side doesn't let us provide a "denied" state when asking to add the Tile.
getter/setter pair

Methods

encode() Object
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 Methods

decode(Object result) AddTileResult