deserializeDbRelayListItem function

  1. @isarProtected
DbRelayListItem deserializeDbRelayListItem(
  1. IsarReader reader
)

Implementation

@isarProtected
DbRelayListItem deserializeDbRelayListItem(IsarReader reader) {
  final String _url;
  _url = IsarCore.readString(reader, 1) ?? '';
  final ReadWriteMarker _marker;
  {
    if (IsarCore.readNull(reader, 2)) {
      _marker = ReadWriteMarker.readOnly;
    } else {
      _marker = _dbRelayListItemMarker[IsarCore.readByte(reader, 2)] ??
          ReadWriteMarker.readOnly;
    }
  }
  final object = DbRelayListItem(
    _url,
    _marker,
  );
  return object;
}