hasDirections function
Ghanaian-style directions: "opposite Goil, Madina", "behind the police station".
Implementation
bool hasDirections(String q) =>
RegExp(r'\b(opposite|opp\.?|adjacent|adj\.?|behind|beside|near|next to|close to|in front of|infront of|after|before|off|around)\b', caseSensitive: false)
.hasMatch(q);