getMotherStream method
- String query
Implementation
Stream<List<Mother>> getMotherStream(String query) {
final searchQuery = query.isEmpty ? "" : query;
return Provider.of<CRUDModel>(context, listen: false)
.fetchMothersAsStreamSearchMothers(widget.doctor!.organizationId!, searchQuery);
}