content: // GENERATED CODE - DO NOT MODIFY BY HAND
  
  part of 'nox_transfer_model.dart';
  
  // **************************************************************************
  // TypeAdapterGenerator
  // **************************************************************************
  
  class NoxTransferAdapter extends TypeAdapter<NoxTransfer> {
    @override
    final int typeId = 29;
  
    @override
    NoxTransfer read(BinaryReader reader) {
      final numOfFields = reader.readByte();
      final fields = <int, dynamic>{
        for (int i = 0; i < numOfFields; i++) reader.readByte(): reader.read(),
      };
      return NoxTransfer(
        id: fields[0] as int,
        transactionId: fields[1] as String,
        originalAmount: fields[2] as double,
        completed: fields[3] as bool,
        failed: fields[4] as bool,
        userId: fields[5] as int?,
        createdAt: fields[6] as DateTime,
        updatedAt: fields[7] as DateTime,
        receivedAmount: fields[8] as double,
        status: fields[10] as String?,
        paymentMethod: fields[11] as String?,
        to_currency: fields[12] as String?,
        from_currency: fields[13] as String?,
        transactionType: fields[14] as String?,
        provider: fields[15] as String?,
        price: fields[16] as double?,
        cashback: fields[17] as double?,
        cashbackPayed: fields[18] as bool?,
        subStatus: fields[19] as String?,
        depositAddress: fields[20] as String?,
      );
    }
  
    @override
    void write(BinaryWriter writer, NoxTransfer obj) {
      writer
        ..writeByte(20)
        ..writeByte(0)
        ..write(obj.id)
        ..writeByte(1)
        ..write(obj.transactionId)
        ..writeByte(2)
        ..write(obj.originalAmount)
        ..writeByte(3)
        ..write(obj.completed)
        ..writeByte(4)
        ..write(obj.failed)
        ..writeByte(5)
        ..write(obj.userId)
        ..writeByte(6)
        ..write(obj.createdAt)
        ..writeByte(7)
        ..write(obj.updatedAt)
        ..writeByte(8)
        ..write(obj.receivedAmount)
        ..writeByte(10)
        ..write(obj.status)
        ..writeByte(11)
        ..write(obj.paymentMethod)
        ..writeByte(12)
        ..write(obj.to_currency)
        ..writeByte(13)
        ..write(obj.from_currency)
        ..writeByte(14)
        ..write(obj.transactionType)
        ..writeByte(15)
        ..write(obj.provider)
        ..writeByte(16)
        ..write(obj.price)
        ..writeByte(17)
        ..write(obj.cashback)
        ..writeByte(18)
        ..write(obj.cashbackPayed)
        ..writeByte(19)
        ..write(obj.subStatus)
        ..writeByte(20)
        ..write(obj.depositAddress);
    }
  
    @override
    int get hashCode => typeId.hashCode;
  
    @override
    bool operator ==(Object other) =>
        identical(this, other) ||
        other is NoxTransferAdapter &&
            runtimeType == other.runtimeType &&
            typeId == other.typeId;
  }
  