SnapChannel class
Describes a channel available for a snap.
- Annotations
-
- @immutable
- @JsonSerializable()
Constructors
- SnapChannel({SnapConfinement confinement = SnapConfinement.unknown, required DateTime releasedAt, String revision = '', int size = 0, String version = ''})
-
const
-
SnapChannel.fromJson(Map<
String, dynamic> json) -
factory
Properties
- confinement → SnapConfinement
-
Confinement of this snap in this channel.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- releasedAt → DateTime
-
The date this revision was released into the channel.
final
- revision → String
-
Revision of this snap in this channel.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- size → int
-
Size of the snap in this channel in bytes.
final
- version → String
-
Version of this snap in this channel.
final
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.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override