fetchAgents method

Future<void> fetchAgents(
  1. String s
)

Implementation

Future<void> fetchAgents(String s) async {
  _agents = await _agentService.getAgents();
  print("agents fetch from provider---${_agents}");
  notifyListeners();
}