Fix example

This commit is contained in:
Tobe O 2019-08-17 18:32:58 -04:00
parent d55deae96e
commit b2cc66721b

View file

@ -33,7 +33,7 @@ class _FakeExecutor extends QueryExecutor {
}
@override
Future<T> transaction<T>(FutureOr<T> Function() f) {
Future<T> transaction<T>(FutureOr<T> Function(QueryExecutor) f) {
throw new UnsupportedError('Transactions are not supported.');
}
}