hasSuffix method

bool hasSuffix(
  1. String value
)

Check if has suffix

Implementation

bool hasSuffix(String value) {
  final matchList =
      config.excludeSuffixes.where((element) => value.endsWith(element));
  return matchList.isNotEmpty;
}