CreateNodegroupResponse.fromJson constructor

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

Implementation

factory CreateNodegroupResponse.fromJson(Map<String, dynamic> json) {
  return CreateNodegroupResponse(
    nodegroup: json['nodegroup'] != null
        ? Nodegroup.fromJson(json['nodegroup'] as Map<String, dynamic>)
        : null,
  );
}