DVOfflineStorePrivacyAdapter constructor

DVOfflineStorePrivacyAdapter({
  1. required DVOfflineStore store,
  2. required DVSubject subject,
  3. String? name,
})

Implementation

DVOfflineStorePrivacyAdapter({
  required this.store,
  required this.subject,
  String? name,
}) : name = name ?? 'offline:${store.table.table}' {
  if (subject._kind == _DVSubjectKind.through) {
    throw ArgumentError.value(
      subject,
      'subject',
      'an offline store has no parent table to walk through',
    );
  }
}