Files
apskel-owner-flutter/lib/env.dart
T
Efril f9bfb69254
Build & Deploy iOS to TestFlight / build-and-deploy (push) Has been cancelled
feat: home ui update and update api url
2026-07-03 16:00:57 +07:00

21 lines
394 B
Dart

import 'package:injectable/injectable.dart';
abstract class Env {
String get baseUrl;
// add getter here...
}
@Injectable(as: Env)
@dev
class DevEnv implements Env {
@override
String get baseUrl => 'https://enaklo-pos-api.altru.id'; // example value
}
@Injectable(as: Env)
@prod
class ProdEnv implements Env {
@override
String get baseUrl => 'https://enaklo-pos-api.altru.id';
}