SimulationApplicationConfig.fromJson constructor
SimulationApplicationConfig.fromJson(
- Map<String, dynamic> json
)
Implementation
factory SimulationApplicationConfig.fromJson(Map<String, dynamic> json) {
return SimulationApplicationConfig(
application: json['application'] as String,
launchConfig:
LaunchConfig.fromJson(json['launchConfig'] as Map<String, dynamic>),
applicationVersion: json['applicationVersion'] as String?,
worldConfigs: (json['worldConfigs'] as List?)
?.whereNotNull()
.map((e) => WorldConfig.fromJson(e as Map<String, dynamic>))
.toList(),
);
}