m3_lightmeter/lib/environment.dart

22 lines
685 B
Dart
Raw Normal View History

2023-01-23 18:25:24 +00:00
class Environment {
final String sourceCodeUrl;
final String issuesReportUrl;
final String contactEmail;
const Environment({
required this.sourceCodeUrl,
required this.issuesReportUrl,
required this.contactEmail,
});
const Environment.dev()
: sourceCodeUrl = 'https://github.com/vodemn/m3_lightmeter',
issuesReportUrl = 'https://github.com/vodemn/m3_lightmeter/issues',
2023-01-23 18:35:47 +00:00
contactEmail = 'contact.vodemn@gmail.com';
2023-01-23 18:25:24 +00:00
const Environment.prod()
: sourceCodeUrl = 'https://github.com/vodemn/m3_lightmeter',
issuesReportUrl = 'https://github.com/vodemn/m3_lightmeter/issues',
2023-01-23 18:35:47 +00:00
contactEmail = 'contact.vodemn@gmail.com';
2023-01-23 18:25:24 +00:00
}