identifyReceived method

  1. @override
void identifyReceived(
  1. bool isPush,
  2. int numProtocols,
  3. int numAddrs
)
override

IdentifyReceived tracks metrics on receiving an identify response.

Implementation

@override
void identifyReceived(bool isPush, int numProtocols, int numAddrs) {
  final direction = isPush ? 'inbound' : 'outbound';
  final type = isPush ? 'push' : 'identify';
  print('Received $type ($direction) with $numProtocols protocols and $numAddrs addresses');
}