mirror of
https://github.com/vodemn/m3_lightmeter.git
synced 2024-11-24 00:10:47 +00:00
22 lines
685 B
Dart
22 lines
685 B
Dart
|
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',
|
||
|
contactEmail = 'contact.vodemn@gmail.com';
|
||
|
|
||
|
const Environment.prod()
|
||
|
: sourceCodeUrl = 'https://github.com/vodemn/m3_lightmeter',
|
||
|
issuesReportUrl = 'https://github.com/vodemn/m3_lightmeter/issues',
|
||
|
contactEmail = 'contact.vodemn@gmail.com';
|
||
|
}
|