fromSql method Null safety
- String fromDb
override
Maps a column from the database back to Dart.
Implementation
@override
List<T> fromSql(String fromDb) => List<T>.from(jsonDecode(fromDb) ?? []);
Maps a column from the database back to Dart.
@override
List<T> fromSql(String fromDb) => List<T>.from(jsonDecode(fromDb) ?? []);