RemoteAccessConfig.fromJson constructor
Implementation
factory RemoteAccessConfig.fromJson(Map<String, dynamic> json) {
return RemoteAccessConfig(
ec2SshKey: json['ec2SshKey'] as String?,
sourceSecurityGroups: (json['sourceSecurityGroups'] as List?)
?.whereNotNull()
.map((e) => e as String)
.toList(),
);
}