toChangeType method

ChangeType toChangeType()

Implementation

ChangeType toChangeType() {
  switch (this) {
    case 'CREATE':
      return ChangeType.create;
    case 'UPDATE':
      return ChangeType.update;
    case 'DELETE':
      return ChangeType.delete;
  }
  throw Exception('$this is not known in enum ChangeType');
}