toValue method
Implementation
String toValue() {
switch (this) {
case InstanceMetadataHttpTokensState.optional:
return 'optional';
case InstanceMetadataHttpTokensState.required:
return 'required';
}
}
String toValue() {
switch (this) {
case InstanceMetadataHttpTokensState.optional:
return 'optional';
case InstanceMetadataHttpTokensState.required:
return 'required';
}
}