BridgeModuleFromJson extension
Extension methods for BridgeModule to support JSON parsing.
- on
Methods
-
addFromJson(
Map< String, dynamic> jsonContents) → void -
Available on BridgeModule, provided by the BridgeModuleFromJson extension
Populates ports, interfaces, and parameters from JSON representing the full module. -
addInterfacesFromJson(
String instanceName, Map< String, dynamic> busInterfaces, Map<String, String> parameters) → void -
Available on BridgeModule, provided by the BridgeModuleFromJson extension
Creates interfaces based on a JSON input. -
addParametersFromJson(
Map< String, dynamic> parameterList) → Map<String, String> -
Available on BridgeModule, provided by the BridgeModuleFromJson extension
Adds parameters to the module from the JSONparameterList
. -
addPortsFromJson(
List portInfo, Map< String, String> parameters) → void -
Available on BridgeModule, provided by the BridgeModuleFromJson extension
Create ports in the module based on theportInfo
andparameters
. -
addStructMapsFromJson(
Map< String, dynamic> structInfo) → void -
Available on BridgeModule, provided by the BridgeModuleFromJson extension
Calls addStructMap for each entry in thestructInfo
map.