SnapApp class

Describes an app provided by a snap.

Annotations
  • @immutable
  • @JsonSerializable()

Constructors

SnapApp({required String? snap, required String name, String? desktopFile, String? daemon, bool enabled = true, bool active = true, String? commonId})
const
SnapApp.fromJson(Map<String, dynamic> json)
factory

Properties

active bool
True if this service is active.
final
commonId String?
A unique ID for this app.
final
daemon String?
Type of daemon this app is.
final
desktopFile String?
Desktop file the app uses.
final
enabled bool
True if this service is enabled.
final
hashCode int
The hash code for this object.
no setteroverride
name String
Name of the app.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
snap String?
The snap this app is part of
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