SHARE
TWEET

Untitled

a guest Jun 16th, 2019 57 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Future<void> _sendAnalyticsbEvent() async {
  2. await analytics.logEvent(
  3.   name: 'test_event',
  4.   parameters: <String, dynamic>{
  5.     'string': 'string',
  6.     'int': 42,
  7.     'long': 12345678910,
  8.     'double': 42.0,
  9.     'bool': true,
  10.   },
  11. );
  12. setMessage('logEvent succeeded');
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top