get method
Implementation
@override
Future<List<Map<String, dynamic>>> get([
List<String> columns = const ['*'],
]) async {
try {
if (softDeletes) {
whereNull(deletedAt);
}
List<Map<String, dynamic>> result = await super.get(columns);
for (Map<String, dynamic> map in result) {
map.removeWhere((key, _) => hidden.contains(key));
}
return _loadRelations(result);
} catch (e) {
throw Exception(e);
}
}