compareContext method

int compareContext(
  1. C c2
)

Implementation

int compareContext(C c2) {
  var c1 = context;
  if (c1 != null) {
    return -1;
  } else if (c1 == null) {
    return 1;
  } else {
    return c1.compareTo(c2);
  }
}