findOne method
Implementation
T? findOne(bool Function(T) predicate) {
final map = _harnCollection.findOne((e) => predicate(fromMap(e)));
final response = map != null ? fromMap(map) : null;
harnLog.register({"findOne": response});
return response;
}