toValue method
Implementation
String toValue() {
switch (this) {
case RealtimeEndpointStatus.none:
return 'NONE';
case RealtimeEndpointStatus.ready:
return 'READY';
case RealtimeEndpointStatus.updating:
return 'UPDATING';
case RealtimeEndpointStatus.failed:
return 'FAILED';
}
}