DeploymentLaunchConfig.fromJson constructor
DeploymentLaunchConfig.fromJson(
- Map<String, dynamic> json
)
Implementation
factory DeploymentLaunchConfig.fromJson(Map<String, dynamic> json) {
return DeploymentLaunchConfig(
launchFile: json['launchFile'] as String,
packageName: json['packageName'] as String,
environmentVariables:
(json['environmentVariables'] as Map<String, dynamic>?)
?.map((k, e) => MapEntry(k, e as String)),
postLaunchFile: json['postLaunchFile'] as String?,
preLaunchFile: json['preLaunchFile'] as String?,
);
}