mirror of https://github.com/AMT-Cheif/drift.git
doc: update example to include missing imports
`dart:io` is necessary for `File` `moor.dart` is necessary for `LazyDatabase`
This commit is contained in:
parent
e89f1c924c
commit
cfdb2f5cd2
|
@ -92,6 +92,8 @@ follows:
|
|||
import 'package:moor_ffi/moor_ffi.dart';
|
||||
import 'package:path_provider/path_provider.dart';
|
||||
import 'package:path/path.dart' as p;
|
||||
import 'package:moor/moor.dart';
|
||||
import 'dart:io';
|
||||
|
||||
LazyDatabase _openConnection() {
|
||||
// the LazyDatabase util lets us find the right location for the file async.
|
||||
|
|
Loading…
Reference in New Issue