toValue method
Implementation
String toValue() {
switch (this) {
case InstanceMetadataEndpointState.disabled:
return 'disabled';
case InstanceMetadataEndpointState.enabled:
return 'enabled';
}
}
String toValue() {
switch (this) {
case InstanceMetadataEndpointState.disabled:
return 'disabled';
case InstanceMetadataEndpointState.enabled:
return 'enabled';
}
}