SystemUpdate class

Configuration for managing system updatesNote: Google Play system updates (https://source.android.com/docs/core/ota/modular-system) (also called Mainline updates) are automatically downloaded but require a device reboot to be installed.

Refer to the mainline section in Manage system updates (https://developer.android.com/work/dpc/system-updates#mainline) for further details.

Constructors

SystemUpdate({int? endMinutes, List<FreezePeriod>? freezePeriods, int? startMinutes, String? type})
SystemUpdate.fromJson(Map json_)

Properties

endMinutes ↔ int?
If the type is WINDOWED, the end of the maintenance window, measured as the number of minutes after midnight in device's local time.
getter/setter pair
freezePeriods ↔ List<FreezePeriod>?
An annually repeating time period in which over-the-air (OTA) system updates are postponed to freeze the OS version running on a device.
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
startMinutes ↔ int?
If the type is WINDOWED, the start of the maintenance window, measured as the number of minutes after midnight in the device's local time.
getter/setter pair
type ↔ String?
The type of system update to configure. 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