checkProperty method

bool checkProperty(
  1. FunctionNode node
)

Implementation

bool checkProperty(FunctionNode node) {
  while( null!=node.parent ) {
    final property = node.parent!.runtimeType == Property;
    if( property )  return true;
  }
  return false;
}