b012_sqlflite_easy library

Classes

DataAccess
High-level API for persisting Dart objects into a local SQLite database.

Enums

ColumnType
Primitive Dart types known by DataAccess.showCreateTable.

Extensions

B012StringHelpers on String
Convenient String helpers used by the package.

Properties

newKey String
Returns a 32-character random key made of digits, lowercase and uppercase Latin letters. Handy for generating string-typed primary keys.
no setter

Functions

boolean(dynamic intOrBool, {bool isInt = true}) → dynamic
Normalizes a SQLite boolean value.
dateTime(String? dateString) DateTime?
Parses a SQLite DATETIME string into a DateTime. Returns null when dateString is null or empty.
mapToUse(Map<String, dynamic> objectMap, {bool forDB = true}) Map<String, dynamic>
Converts an entity map into a map suitable for SQLite.
range(int lenOrStart, [int? end]) Iterable<int>
Generates an integer sequence, similar to Python's range.