Adds db helper requsts for flights pertaining to drones/batteries, and config class with generated json serializer

This commit is contained in:
2025-07-05 09:56:04 +02:00
parent 336251a3e8
commit b35656d4ce
7 changed files with 496 additions and 150 deletions

16
lib/config.dart Normal file
View File

@ -0,0 +1,16 @@
// This file holds a class to represent the configuration/settings of the app
import 'package:json_annotation/json_annotation.dart';
part 'generated/config.g.dart';
@JsonSerializable()
class RTimeConfig {
final String language;
RTimeConfig({required this.language});
factory RTimeConfig.fromJson(Map<String, dynamic> json) =>
_$PersonFromJson(json);
Map<String, dynamic> toJson() => _$PersonToJson(this);
}