AppIntentsManifest class

What dart run app_intents_codegen:describe declared: every intent, entity and enum, with a JSON Schema for each intent's params.

Constructors

AppIntentsManifest({required List<DeclaredIntent> intents, List<DeclaredEntity> entities = const [], List<DeclaredEnum> enums = const []})
Creates a manifest from already-decoded parts.
const
AppIntentsManifest.fromJson(Map<String, Object?> json)
Reads a decoded manifest.
factory
AppIntentsManifest.parse(String json)
Parses the JSON the describe command writes.
factory

Properties

entities → List<DeclaredEntity>
Declared entities, in source order.
final
enums → List<DeclaredEnum>
Declared enums, in source order.
final
hashCode → int
The hash code for this object.
no setterinherited
intents → List<DeclaredIntent>
Declared intents, in source order.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

entity(String identifier) → DeclaredEntity?
The declared entity with identifier, or null.
intent(String identifier) → DeclaredIntent?
The declared intent with identifier, or null.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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

Constants

supportedFormatVersion → const int
The formatVersion this package reads.