toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final nodeGroupId = this.nodeGroupId;
  final preferredAvailabilityZones = this.preferredAvailabilityZones;
  return {
    if (nodeGroupId != null) 'NodeGroupId': nodeGroupId,
    if (preferredAvailabilityZones != null)
      'PreferredAvailabilityZones': preferredAvailabilityZones,
  };
}