priority property

int get priority

Implementation

int get priority {
  if (type == 'http') {
    return 0;
  } else if (type == 'https') {
    return 1;
  } else {
    return 2;
  }
}