reportMetric static method
Reports metric value for the given name.
Implementation
static Future<void> reportMetric(String name, int value) async {
await _channel.invokeMethod<void>(
'reportMetric',
<String, dynamic>{'name': name, 'value': value},
);
}