BenchmarkInfo.fromJsonString constructor

BenchmarkInfo.fromJsonString(
  1. String source
)

Creates benchmark information from a JSON string.

Implementation

factory BenchmarkInfo.fromJsonString(String source) {
  return BenchmarkInfo.fromJson(jsonDecode(source) as Map<String, Object?>);
}