NodegroupResources.fromJson constructor

NodegroupResources.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory NodegroupResources.fromJson(Map<String, dynamic> json) {
  return NodegroupResources(
    autoScalingGroups: (json['autoScalingGroups'] as List?)
        ?.whereNotNull()
        .map((e) => AutoScalingGroup.fromJson(e as Map<String, dynamic>))
        .toList(),
    remoteAccessSecurityGroup: json['remoteAccessSecurityGroup'] as String?,
  );
}