getAllCrops method

List<String> getAllCrops()

Implementation

List<String> getAllCrops() {
  final user = getCurrentUser();
  return user?.crops ?? [];
}