reportMetric static method

Future<void> reportMetric(
  1. String name,
  2. int value
)

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},
  );
}