runCustom method Null safety

  1. @override
Future<void> runCustom(
  1. String statement,
  2. [List<Object?>? args]
)
inherited

Runs a custom SQL statement without any variables. The result of that statement will be ignored.

Implementation

@override
Future<void> runCustom(String statement, [List<Object?>? args]) {
  return _synchronized(() {
    assert(_debugCheckIsOpen());
    final resolvedArgs = args ?? const [];
    _log(statement, resolvedArgs);
    return impl.runCustom(statement, resolvedArgs);
  });
}