core.Map<core.String, core.dynamic> toJson() => { if (nodePoolConfig != null) 'nodePoolConfig': nodePoolConfig!, };