part of '../unit.dart'; abstract class IUnitRepository { /// Ambil satuan dari server lalu simpan ke cache lokal. /// Bila server tidak terjangkau, kembalikan isi cache supaya POS tetap bisa /// mencetak `4,2 ons` saat offline. Future>> getUnits({ bool forceRefresh = false, }); Future> cachedUnits(); }