AppConfig constructor

const AppConfig({
  1. required String name,
  2. required String environment,
  3. required bool isDebug,
  4. required String key,
  5. String timezone = 'UTC',
  6. String locale = 'en',
  7. int? port,
  8. String? url,
})

Implementation

const AppConfig({
  required this.name,
  required this.environment,
  required this.isDebug,
  required this.key,
  this.timezone = 'UTC',
  this.locale = 'en',
  int? port,
  String? url,
})  : _port = port,
      _url = url;