BloomProjectManifest class

Project manifest delivered by the Bloom dev server for Bloom Go mobile apps.

Contains route definitions, platform settings, enabled features, and dev server connection details.

Example:

final manifest = BloomProjectManifest.fromJson(jsonMap);
print('Connected to project: ${manifest.projectName}');

Constructors

BloomProjectManifest({required String projectName, required String version, required String host, required int port, required String devServerUri, required List<Map<String, dynamic>> routes, required Map<String, dynamic> platforms, required Map<String, dynamic> features})
Creates a BloomProjectManifest.
const
BloomProjectManifest.fromJson(Map<String, dynamic> json)
Constructs a BloomProjectManifest from a JSON json map.
factory

Properties

devServerUri String
Full dev server HTTP URI string.
final
features Map<String, dynamic>
Enabled features configuration map.
final
hashCode int
The hash code for this object.
no setterinherited
host String
Dev server network hostname or IP.
final
platforms Map<String, dynamic>
Platform configuration map.
final
port int
Dev server HTTP port.
final
projectName String
Name of the project.
final
routes List<Map<String, dynamic>>
List of registered application routes.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
version String
Framework and project version string.
final

Methods

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