SourcepointCmp constructor
SourcepointCmp({
- required int accountId,
- required int propertyId,
- required String propertyName,
- required String pmId,
- void onConsentUIReady()?,
- void onConsentUIFinished()?,
- void onConsentReady({
- GDPRUserConsent consent,
- void onError(
- String? errorMessage
- void onAction(
- ActionType? actionType
Implementation
SourcepointCmp({
required this.accountId,
required this.propertyId,
required this.propertyName,
required this.pmId,
this.onConsentUIReady,
this.onConsentUIFinished,
this.onConsentReady,
this.onError,
this.onAction
}) {
_channel.setMethodCallHandler(_handleEvent as Future<dynamic> Function(MethodCall)?);
}