DVModuleManifest class
What a federated module publishes about itself.
Constructors
-
DVModuleManifest({required String id, required String version, required List<
String> routes, Set<String> capabilities = const <String>{}, Map<String, String> assets = const <String, String>{}, String shell = 'inherit', String auth = 'inherit', String theme = 'inherit', String data = 'shared', List<String> publicFunctions = const <String>[], List<String> publicSignals = const <String>[], String? requiresParent, String? location}) -
const
Properties
-
assets
→ Map<
String, String> -
Asset keys and the paths behind them.
final
- auth → String
-
final
-
capabilities
→ Set<
String> -
What the module needs the target to be able to do.
final
- data → String
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
The module's identifier, which is also what the parent mounts it as.
final
- location → String?
-
Where the built module is served from.
final
-
publicFunctions
→ List<
String> -
final
-
publicSignals
→ List<
String> -
final
- requiresParent → String?
-
A version constraint on the parent, such as
>=3.0.0.final -
routes
→ List<
String> -
The module's own routes, relative to wherever it is mounted.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- shell → String
-
final
- theme → String
-
final
- version → String
-
final
Methods
-
canonical(
) → String - The bytes that are signed.
-
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
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromJson(
Map< Object?, Object?> map) → DVModuleManifest