toChangeStatus method

ChangeStatus toChangeStatus()

Implementation

ChangeStatus toChangeStatus() {
  switch (this) {
    case 'PENDING':
      return ChangeStatus.pending;
    case 'INSYNC':
      return ChangeStatus.insync;
  }
  throw Exception('$this is not known in enum ChangeStatus');
}