initSecondary method Null safety
- Object context
Initializes the cbl
package, for a secondary isolate.
A value for context
can be obtained from CouchbaseLite.context.
Implementation
static void initSecondary(Object context) {
if (context is! IsolateContext) {
throw ArgumentError.value(context, 'context', 'is invalid');
}
initIsolate(context);
}