toValue method
Implementation
String toValue() {
switch (this) {
case CaptureStatus.started:
return 'Started';
case CaptureStatus.stopped:
return 'Stopped';
}
}
String toValue() {
switch (this) {
case CaptureStatus.started:
return 'Started';
case CaptureStatus.stopped:
return 'Stopped';
}
}