SearchService().searchByName(value, context).then((QuerySnapshot docs) {
I\'m trying to refactor this as SearchService() is now a Str
SearchService()