Remove auto-generated files

This commit is contained in:
Zontreck 2023-11-01 18:14:56 -07:00
parent 58e2bd70ad
commit c2c4ff77fc
2 changed files with 0 additions and 91 deletions

View file

@ -1,47 +0,0 @@
// GENERATED CODE - DO NOT MODIFY BY HAND
part of 'credentials.dart';
// **************************************************************************
// TypeAdapterGenerator
// **************************************************************************
class CredentialsAdapter extends TypeAdapter<Credentials> {
@override
final int typeId = 1;
@override
Credentials read(BinaryReader reader) {
final numOfFields = reader.readByte();
final fields = <int, dynamic>{
for (int i = 0; i < numOfFields; i++) reader.readByte(): reader.read(),
};
return Credentials(
username: fields[0] as String,
password: fields[1] as String,
secret: fields[2] as String,
);
}
@override
void write(BinaryWriter writer, Credentials obj) {
writer
..writeByte(3)
..writeByte(0)
..write(obj.username)
..writeByte(1)
..write(obj.password)
..writeByte(2)
..write(obj.secret);
}
@override
int get hashCode => typeId.hashCode;
@override
bool operator ==(Object other) =>
identical(this, other) ||
other is CredentialsAdapter &&
runtimeType == other.runtimeType &&
typeId == other.typeId;
}

View file

@ -1,44 +0,0 @@
// GENERATED CODE - DO NOT MODIFY BY HAND
part of 'mod.dart';
// **************************************************************************
// TypeAdapterGenerator
// **************************************************************************
class ModAdapter extends TypeAdapter<Mod> {
@override
final int typeId = 2;
@override
Mod read(BinaryReader reader) {
final numOfFields = reader.readByte();
final fields = <int, dynamic>{
for (int i = 0; i < numOfFields; i++) reader.readByte(): reader.read(),
};
return Mod(
mod_name: fields[0] as String,
mod_id: fields[1] as int,
);
}
@override
void write(BinaryWriter writer, Mod obj) {
writer
..writeByte(2)
..writeByte(0)
..write(obj.mod_name)
..writeByte(1)
..write(obj.mod_id);
}
@override
int get hashCode => typeId.hashCode;
@override
bool operator ==(Object other) =>
identical(this, other) ||
other is ModAdapter &&
runtimeType == other.runtimeType &&
typeId == other.typeId;
}