fromJson static method
Null for a file written before the key existed.
Implementation
static ComparisonHost? fromJson(Object? json) => json is Map
? ComparisonHost(
os: json['os'] as String?,
cpus: json['cpus'] as int?,
rasterizer: json['rasterizer'] as String?,
jobs: json['jobs'] as int?,
)
: null;