PerfSample.fromJson constructor
PerfSample.fromJson(
- Map json_
Implementation
PerfSample.fromJson(core.Map json_)
: this(
sampleTime: json_.containsKey('sampleTime')
? Timestamp.fromJson(
json_['sampleTime'] as core.Map<core.String, core.dynamic>)
: null,
value: json_.containsKey('value')
? (json_['value'] as core.num).toDouble()
: null,
);