deserializeDbNip05Prop function
dynamic
deserializeDbNip05Prop(
- IsarReader reader,
- int property
)
Implementation
@isarProtected
dynamic deserializeDbNip05Prop(IsarReader reader, int property) {
switch (property) {
case 1:
return IsarCore.readString(reader, 1) ?? '';
case 2:
return IsarCore.readString(reader, 2) ?? '';
case 3:
return IsarCore.readString(reader, 3) ?? '';
case 4:
return IsarCore.readBool(reader, 4);
case 5:
{
final value = IsarCore.readLong(reader, 5);
if (value == -9223372036854775808) {
return null;
} else {
return value;
}
}
case 6:
{
final length = IsarCore.readList(reader, 6, IsarCore.readerPtrPtr);
{
final reader = IsarCore.readerPtr;
if (reader.isNull) {
return null;
} else {
final list = List<String>.filled(length, '', growable: true);
for (var i = 0; i < length; i++) {
list[i] = IsarCore.readString(reader, i) ?? '';
}
IsarCore.freeReader(reader);
return list;
}
}
}
default:
throw ArgumentError('Unknown property: $property');
}
}