onConfigCreated property
EventStream<OnConfigCreatedEvent>
get
onConfigCreated
Triggered when a configuration is created by the platform for the extension. |id|: ID of the configuration created. |name|: Name of the configuration created. |data|: Configuration data provided by the administrator.
Implementation
EventStream<OnConfigCreatedEvent> get onConfigCreated =>
$js.chrome.vpnProvider.onConfigCreated.asStream(($c) => (
String id,
String name,
JSAny data,
) {
return $c(OnConfigCreatedEvent(
id: id,
name: name,
data: data.toDartMap(),
));
}.toJS);