AptSettings class

Apt patching is completed by executing apt-get update && apt-get upgrade.

Additional options can be set to control how this is executed.

Constructors

AptSettings({List<String>? excludes, List<String>? exclusivePackages, String? type})
AptSettings.fromJson(Map json_)

Properties

excludes List<String>?
List of packages to exclude from update.
getter/setter pair
exclusivePackages List<String>?
An exclusive list of packages to be updated.
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
type String?
By changing the type to DIST, the patching is performed using apt-get dist-upgrade instead. Possible string values are:
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited