findByUpId 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''')
Future<List<MeasureUnitModel>> findByUpId(int upId);