Leaks.fromJson constructor
Implementation
factory Leaks.fromJson(Map<String, dynamic> json) => Leaks(
json.map(
(key, value) => MapEntry(
LeakType.byName(key),
(value as List)
.cast<Map<String, dynamic>>()
.map(LeakReport.fromJson)
.toList(growable: false),
),
),
);