BloomOtaPatch class
Represents an available OTA patch descriptor.
Example:
final patch = BloomOtaPatch(
patchNumber: 2,
channel: 'production',
releasedAt: DateTime.now(),
releaseNotes: 'Bug fixes and performance improvements',
);
Constructors
- BloomOtaPatch({required int patchNumber, required String channel, required DateTime releasedAt, String? releaseNotes})
-
Creates a BloomOtaPatch descriptor.
const
Properties
- channel → String
-
Release channel (e.g.
'production','staging').final - hashCode → int
-
The hash code for this object.
no setterinherited
- patchNumber → int
-
Sequential patch version number.
final
- releasedAt → DateTime
-
Timestamp when this patch was published.
final
- releaseNotes → String?
-
Optional release notes or changelog summary.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Serializes patch descriptor to a JSON map.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited