utils library Null safety

Properties

lockWarningCallback ↔ (void Function?()?)
Deprecated since 1.1.7+.
read / write
lockWarningDuration Duration?
Deprecated since 1.1.7+.
read / write

Functions

firstIntValue(List<Map<String, Object?>> list) int?
helper to get the first int value in a query Useful for COUNT(*) queries
hex(List<int> bytes) String
Utility to encode a blob to allow blob query using 'hex(blob_field) = ?', Sqlite.hex(1,2,3)
setLockWarningInfo({Duration? duration, void callback()?}) → void
Change database lock behavior mechanism.