GetAppLaunchConfigurationResponse.fromJson constructor
GetAppLaunchConfigurationResponse.fromJson(
- Map<String, dynamic> json
)
Implementation
factory GetAppLaunchConfigurationResponse.fromJson(
Map<String, dynamic> json) {
return GetAppLaunchConfigurationResponse(
appId: json['appId'] as String?,
autoLaunch: json['autoLaunch'] as bool?,
roleName: json['roleName'] as String?,
serverGroupLaunchConfigurations:
(json['serverGroupLaunchConfigurations'] as List?)
?.whereNotNull()
.map((e) => ServerGroupLaunchConfiguration.fromJson(
e as Map<String, dynamic>))
.toList(),
);
}