containsClass method

bool containsClass(
  1. String type
)

Implementation

bool containsClass(String type) {
  return contains(RegExp('\\s*class\\s+$type(?:\\s|\\{)'));
}