hasReference method

bool hasReference(
  1. String value
)

Checks if a given value is present in the cleaned code.

Implementation

bool hasReference(String value) => (cleanedCode ?? '').contains(value);