findByUpIdAsStream abstract method
- @Query.new('''SELECT * FROM measure_unit WHERE up_id = :upId and status = 1''')
- int upId
Implementation
@Query('''SELECT * FROM measure_unit WHERE up_id = :upId and status = 1''')
Stream<List<MeasureUnitModel>> findByUpIdAsStream(int upId);