Fix typo in upgrading documentation (#2037)

Co-authored-by: Ayumi Sashitani <sashiiii.dev@gmail.com>
This commit is contained in:
Ayumi Sashitani 2022-09-07 21:45:30 +09:00 committed by GitHub
parent eb7299c2d5
commit 16f586f444
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ project. For a full list of updates, see the [changelog](https://pub.dev/package
a complex select in Dart) only supports non-nullable values now. To read
nullable values, use `readNullable`.
4. __Updated type converters__: The `mapToSql` and `mapToDart` methods have been
renamed to simply `toSql` and `toDart`, respectively.
renamed to simply `toSql` and `fromSql`, respectively.
Also, a type converter only needs to support the exact types that it was
declared with. In particular, a `TypeConverter<MyObject, String>` no longer
needs to deal with `null` values in either direction.