firstOrFail method
Implementation
@override
Future<Map<String, dynamic>?> firstOrFail([
List<String> columns = const [],
]) async {
var result = await first(columns);
if (result == null) {
throw InvalidArgumentException("No records found.");
}
return result;
}