register static method

void register(
  1. String model,
  2. DVOfflineStore build(
    1. DVDatabaseAdapter database
    )
)

Declares model as an offline data model whose store build makes.

Called from the generated model registration, so the queue of a model this session never touches is still sent.

Implementation

static void register(
  String model,
  DVOfflineStore Function(DVDatabaseAdapter database) build,
) {
  _builders[model] = build;
}