Options class
An immutable class to work as an option for methods in PackagesInfoPlatform
Constructors
- Options.new({bool includeIcons = true, bool includeAdaptableIcons = false, String packageIdentifier = ''})
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- includeAdaptableIcons → bool
-
Will request the platform to include adaptable icons for package info.
final
- includeIcons → bool
-
Will request the platform to include icons for package info.
final
- packageIdentifier → String
-
If this string is not empty, then only the package matching with this identifier will be returned.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
toMap
→ Map<
String, dynamic> -
no setter
Methods
-
copyWith(
{String? packageIdentifier, bool? includeIcons, bool? includeAdaptableIcons}) → Options -
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