Merge pull request #492 from abumalick/patch-1

doc: update example to include missing imports
This commit is contained in:
Simon Binder 2020-04-13 21:43:35 +02:00 committed by GitHub
commit aeb63e7faa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -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.