getCount abstract method

  1. @Query.new('''SELECT count(*) FROM measure_unit WHERE status = 1''')
Future<int?> getCount()

Implementation

@Query('''SELECT count(*) FROM measure_unit WHERE status = 1''')
Future<int?> getCount();