NmWebhooksSection constructor
const
NmWebhooksSection({
- Key? key,
- required Future<
NmWebhooksData?> load(), - required Future<
({String? secret})?> onAdd(), - required Future<
({String? detail, bool ok})?> onTest(- int id
- required Future<
void> onDelete(- int id
- required Future<
List< loadDeliveries(NmWebhookDelivery> ?>- int id
- Set<
String> initialEvents = const {}, - String? title,
- String? subtitle,
Creates an NmWebhooksSection.
Implementation
const NmWebhooksSection({
super.key,
required this.load,
required this.onAdd,
required this.onTest,
required this.onDelete,
required this.loadDeliveries,
this.initialEvents = const {},
this.title,
this.subtitle,
this.unavailableText,
});