isVariable static method

bool isVariable(
  1. String? value
)

Implementation

static bool isVariable(String? value) {
  if (value == null) {
    return false;
  }
  return value.length > 2 && value.codeUnitAt(0) == _HYPHEN_CODE && value.codeUnitAt(1) == _HYPHEN_CODE;
}