toValue method
Implementation
String toValue() {
switch (this) {
case InstalledComponentLifecycleState.$new:
return 'NEW';
case InstalledComponentLifecycleState.installed:
return 'INSTALLED';
case InstalledComponentLifecycleState.starting:
return 'STARTING';
case InstalledComponentLifecycleState.running:
return 'RUNNING';
case InstalledComponentLifecycleState.stopping:
return 'STOPPING';
case InstalledComponentLifecycleState.errored:
return 'ERRORED';
case InstalledComponentLifecycleState.broken:
return 'BROKEN';
case InstalledComponentLifecycleState.finished:
return 'FINISHED';
}
}