LiteStoreManifest class

litestore.yaml: who the app is and what it needs from the host.

id: com.example.duka
name: Duka
version: 1.0.0
summary: Order from shops near you.
developer: Example Ltd
category: shopping
requires: [location]          # hidden on phones without these
optional: [scanner, profile.name, storage]

Constructors

LiteStoreManifest({required String id, required String name, required String version, String summary = '', String developer = '', String category = '', String? icon, List<FeatureRef> requires = const [], List<FeatureRef> optional = const [], int minBridgeVersion = 1})
const
LiteStoreManifest.parse(String yaml)
factory

Properties

category → String
final
declaredIds → Set<String>
no setter
developer → String
final
hashCode → int
The hash code for this object.
no setterinherited
icon → String?
Path to the icon, relative to litestore.yaml.
final
id → String
Stable id, e.g. com.example.duka: also the link path (/a/<id>/...) and the key for the app's permissions and storage.
final
minBridgeVersion → int
final
name → String
final
optional → List<FeatureRef>
final
requires → List<FeatureRef>
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
summary → String
final
version → String
Semantic version; the store compares it to decide on updates.
final

Methods

errors() → List<String>
Problems that would make the store refuse the app.
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
warnings() → List<String>
Worth fixing, but not blocking.

Operators

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