mirror of
https://github.com/vodemn/m3_lightmeter.git
synced 2024-11-22 15:30:59 +00:00
19 lines
470 B
Dart
19 lines
470 B
Dart
class ScreenshotConfig {
|
|
final String title;
|
|
final String subtitle;
|
|
final String screenshotName;
|
|
|
|
const ScreenshotConfig({
|
|
required this.title,
|
|
required this.subtitle,
|
|
required this.screenshotName,
|
|
});
|
|
|
|
factory ScreenshotConfig.fromJson(Map<String, dynamic> data) {
|
|
return ScreenshotConfig(
|
|
title: data['title'] as String,
|
|
subtitle: data['subtitle'] as String,
|
|
screenshotName: data['screenshotName'] as String,
|
|
);
|
|
}
|
|
}
|