toValue method

String toValue()

Implementation

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