columnDefinitions property

Map<String, String> columnDefinitions
getter/setter pair

Defines the database columns required for persisting auth sessions.

Both email and token are required text fields.

Example:

final columns = AuthSession.columnDefinitions;
print(columns['email']); // TEXT NOT NULL
print(columns['token']); // TEXT NOT NULL

Implementation

static Map<String, String> columnDefinitions = {'email': 'TEXT NOT NULL', 'token': 'TEXT NOT NULL'};