feat: add settings

This commit is contained in:
mso7nueh
2024-09-30 12:54:55 +03:00
parent 346404503e
commit 860036c35f
18 changed files with 1052 additions and 106 deletions

View File

@@ -0,0 +1,27 @@
// GENERATED CODE - DO NOT MODIFY BY HAND
part of 'profile_settings_model.dart';
// **************************************************************************
// JsonSerializableGenerator
// **************************************************************************
_$ProfileSettingsModelImpl _$$ProfileSettingsModelImplFromJson(
Map<String, dynamic> json) =>
_$ProfileSettingsModelImpl(
newUpdatesNotifications: json['new_updates_notifications'],
diaryReminderNotifications: json['diary_reminder_notifications'],
isMoodFillable: json['is_mood_fillable'] as bool,
isBedtimeFillable: json['is_bedtime_fillable'] as bool,
isPublicProfile: json['is_public_profile'] as bool,
);
Map<String, dynamic> _$$ProfileSettingsModelImplToJson(
_$ProfileSettingsModelImpl instance) =>
<String, dynamic>{
'new_updates_notifications': instance.newUpdatesNotifications,
'diary_reminder_notifications': instance.diaryReminderNotifications,
'is_mood_fillable': instance.isMoodFillable,
'is_bedtime_fillable': instance.isBedtimeFillable,
'is_public_profile': instance.isPublicProfile,
};