hasStartsWith method

bool hasStartsWith(
  1. String needle
)

Implementation

bool hasStartsWith(String needle) {
  return where((element) => element.startsWith(needle)).isNotEmpty;
}