DVShorebirdPatch class

A published patch.

Constructors

DVShorebirdPatch({required int number, required String hash, required String channel, required bool rolledBack, String? hashSignature, int rolloutPercent = 100})
const
DVShorebirdPatch.fromJson(Map<String, Object?> json)
factory

Properties

channel → String
final
hash → String
Hex SHA-256 of the patched file the diff produces, which the updater checks before it will boot it.
final
hashCode → int
The hash code for this object.
no setterinherited
hashSignature → String?
final
number → int
final
rolledBack → bool
final
rolloutPercent → int
The share of the release's devices this patch is offered to, 0 to 100.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({bool? rolledBack, int? rolloutPercent, String? channel}) → DVShorebirdPatch
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, Object?>
toString() → String
A string representation of this object.
inherited

Operators

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