maximum method
maximum gets maximum value of a num column in table
Implementation
@override
Future<int?> maximum(String column) async {
final builder = _copyQueryWith(columns: ['MAX($column)']);
final completer = Completer<List<Map<String, dynamic>>>()
..complete(database!.rawQuery(builder.sql, builder.arguments));
if (isLogger!) Logger.query(type, completer.future, builder);
final result = await completer.future;
return result.firstOrNull?.values.firstOrNull as int?;
}