loadEntryByServerId method
Get an entry by its server id as key.
Implementation
Future<T?> loadEntryByServerId(int serverId) async {
var result =
(await select(where: (m) => m.serverId.equals(serverId), limit: 1));
return result.isNotEmpty ? result.first : null;
}