Fix example
This commit is contained in:
parent
d55deae96e
commit
b2cc66721b
1 changed files with 1 additions and 1 deletions
|
@ -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.');
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue