feat(arch): make base class const
This commit is contained in:
parent
1f24a76717
commit
4183da6259
@ -14,4 +14,6 @@
|
|||||||
// You should have received a copy of the GNU General Public License
|
// You should have received a copy of the GNU General Public License
|
||||||
// along with this program. If not, see <https://www.gnu.org/licenses/>.
|
// along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
abstract class BaseDataSource {}
|
abstract class BaseDataSource {
|
||||||
|
const BaseDataSource();
|
||||||
|
}
|
||||||
|
@ -16,4 +16,6 @@
|
|||||||
|
|
||||||
import 'package:wyatt_architecture/src/domain/data_sources/base_data_source.dart';
|
import 'package:wyatt_architecture/src/domain/data_sources/base_data_source.dart';
|
||||||
|
|
||||||
abstract class BaseLocalDataSource extends BaseDataSource {}
|
abstract class BaseLocalDataSource extends BaseDataSource {
|
||||||
|
const BaseLocalDataSource();
|
||||||
|
}
|
||||||
|
@ -16,4 +16,6 @@
|
|||||||
|
|
||||||
import 'package:wyatt_architecture/src/domain/data_sources/base_data_source.dart';
|
import 'package:wyatt_architecture/src/domain/data_sources/base_data_source.dart';
|
||||||
|
|
||||||
abstract class BaseRemoteDataSource extends BaseDataSource {}
|
abstract class BaseRemoteDataSource extends BaseDataSource {
|
||||||
|
const BaseRemoteDataSource();
|
||||||
|
}
|
||||||
|
@ -14,4 +14,6 @@
|
|||||||
// You should have received a copy of the GNU General Public License
|
// You should have received a copy of the GNU General Public License
|
||||||
// along with this program. If not, see <https://www.gnu.org/licenses/>.
|
// along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
class BaseRepository {}
|
abstract class BaseRepository {
|
||||||
|
const BaseRepository();
|
||||||
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user