import 'package:injectable/injectable.dart';

abstract class Env {
  String get baseUrl;
  String get dbName;
  // add getter here...
}

@Injectable(as: Env)
@dev
class DevEnv implements Env {
  @override
  String get baseUrl => 'http://194.233.78.1:4001';

  @override
  String get dbName => "apskel_pos_staging.db";
}

@Injectable(as: Env)
@prod
class ProdEnv implements Env {
  @override
  String get baseUrl => 'https://enaklo-pos-api.altru.id';

  @override
  String get dbName => "apskel_pos_prod.db";
}
