Files
rtime/lib/config.dart

17 lines
426 B
Dart

// 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);
}