toRecordMarkerFailedCause method

RecordMarkerFailedCause toRecordMarkerFailedCause()

Implementation

RecordMarkerFailedCause toRecordMarkerFailedCause() {
  switch (this) {
    case 'OPERATION_NOT_PERMITTED':
      return RecordMarkerFailedCause.operationNotPermitted;
  }
  throw Exception('$this is not known in enum RecordMarkerFailedCause');
}