content: // GENERATED CODE - DO NOT MODIFY BY HAND
  
  part of 'settings_model.dart';
  
  // **************************************************************************
  // TypeAdapterGenerator
  // **************************************************************************
  
  class SettingsModelAdapter extends TypeAdapter<SettingsModel> {
    @override
    final int typeId = 12;
  
    @override
    SettingsModel read(BinaryReader reader) {
      final numOfFields = reader.readByte();
      final fields = <int, dynamic>{
        for (int i = 0; i < numOfFields; i++) reader.readByte(): reader.read(),
      };
      return SettingsModel(
        themePreference: fields[0] as ThemePreference,
        notificationsEnabled: fields[1] as bool,
        soundsEnabled: fields[2] as bool,
        vibrationEnabled: fields[3] as bool,
        syncEnabled: fields[4] as bool,
      );
    }
  
    @override
    void write(BinaryWriter writer, SettingsModel obj) {
      writer
        ..writeByte(5)
        ..writeByte(0)
        ..write(obj.themePreference)
        ..writeByte(1)
        ..write(obj.notificationsEnabled)
        ..writeByte(2)
        ..write(obj.soundsEnabled)
        ..writeByte(3)
        ..write(obj.vibrationEnabled)
        ..writeByte(4)
        ..write(obj.syncEnabled);
    }
  
    @override
    int get hashCode => typeId.hashCode;
  
    @override
    bool operator ==(Object other) =>
        identical(this, other) ||
        other is SettingsModelAdapter &&
            runtimeType == other.runtimeType &&
            typeId == other.typeId;
  }
  