feat: 买点参数册亨工
Flutter CI / analyze-and-test (push) Waiting to run
Details
Flutter CI / analyze-and-test (push) Waiting to run
Details
This commit is contained in:
parent
745ab3510e
commit
29c60bbc48
|
|
@ -80,7 +80,11 @@ class _DemoPageState extends State<DemoPage> {
|
|||
Future<void> _trackDemoEvent() async {
|
||||
await Analytics.track(
|
||||
'DEMO_BUTTON_CLICK',
|
||||
eventParams: const <String, dynamic>{'page': 'demo'},
|
||||
eventParams: const <String, dynamic>{
|
||||
'page': 'demo',
|
||||
'Url': 'https://example.com/demo',
|
||||
'ButtonId': 'demo_btn_01',
|
||||
},
|
||||
customTags: const <String, dynamic>{'tenantId': 't1', 'feature': 'demo'},
|
||||
);
|
||||
await _refreshCount();
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@ class ApiException implements Exception {
|
|||
@override
|
||||
String toString() =>
|
||||
'ApiException(statusCode: $statusCode, retryable: $retryable, '
|
||||
'message: $message)';
|
||||
'message: $message, data: $data)';
|
||||
}
|
||||
|
||||
/// 与后端埋点接口通信的客户端。
|
||||
|
|
|
|||
Loading…
Reference in New Issue