coreValue property

  1. @visibleForTesting
int coreValue

Implementation

@visibleForTesting
int get coreValue {
  switch (this) {
    case unknown:
      return -1;
    case add:
      return 0;
    case update:
      return 1;
    case delete:
      return 2;
  }
}