isProduction method

bool isProduction(
  1. String toTest
)
inherited

Check whether a string represents a production <PRODUCTION> or not

Implementation

bool isProduction(String toTest) {
  return toTest.startsWith('<') && toTest.endsWith('>');
}