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 => 'https://api-pos.apskel.id';

  @override
  String get dbName => "apskel_pos_dev.db"; // example value
}

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

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