WebhookServer constructor
WebhookServer({})
Implementation
WebhookServer({
String? host,
int? port,
String? path,
bool? validateWebhookSecret,
String? webhookSecret,
this.supportsWebSockets = true,
}) : host = host ?? '0.0.0.0',
port =
port ??
int.tryParse(Platform.environment['MESHAGENT_PORT'] ?? '') ??
8080,
path = path ?? '/webhook',
validateWebhookSecret = validateWebhookSecret ?? false,
webhookSecret =
webhookSecret ?? Platform.environment['MESHAGENT_WEBHOOK_SECRET'];