newHttpMetric method

HttpMetricPlatform newHttpMetric(
  1. String url,
  2. HttpMethod httpMethod
)

Creates a HttpMetric object for collecting network performance data for one request/response. Only works for native apps. A stub class is created for web which does nothing.

Implementation

HttpMetricPlatform newHttpMetric(String url, HttpMethod httpMethod) {
  throw UnimplementedError('newHttpMetric() is not implemented');
}