toValue method
Implementation
String toValue() {
switch (this) {
case InstanceSnapshotState.pending:
return 'pending';
case InstanceSnapshotState.error:
return 'error';
case InstanceSnapshotState.available:
return 'available';
}
}