Notifiable constructor

const Notifiable({
  1. Key? key,
  2. String? publicKey,
  3. NotifiableClient? client,
  4. List<DeepLink>? deepLinks,
  5. void onDeepLink(
    1. String url
    )?,
  6. Logger? logger,
  7. KeyValueStore? storage,
  8. required Widget child,
})

Implementation

const Notifiable({
  super.key,
  this.publicKey,
  this.client,
  this.deepLinks,
  this.onDeepLink,
  this.logger,
  this.storage,
  required this.child,
}) : assert(
       client != null || publicKey != null,
       'Pass a publicKey or a client.',
     );