GraphicsStats.fromJson constructor
GraphicsStats.fromJson(
- Map _json
Implementation
GraphicsStats.fromJson(core.Map _json)
: this(
buckets: _json.containsKey('buckets')
? (_json['buckets'] as core.List)
.map((value) => GraphicsStatsBucket.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
highInputLatencyCount: _json.containsKey('highInputLatencyCount')
? _json['highInputLatencyCount'] as core.String
: null,
jankyFrames: _json.containsKey('jankyFrames')
? _json['jankyFrames'] as core.String
: null,
missedVsyncCount: _json.containsKey('missedVsyncCount')
? _json['missedVsyncCount'] as core.String
: null,
p50Millis: _json.containsKey('p50Millis')
? _json['p50Millis'] as core.String
: null,
p90Millis: _json.containsKey('p90Millis')
? _json['p90Millis'] as core.String
: null,
p95Millis: _json.containsKey('p95Millis')
? _json['p95Millis'] as core.String
: null,
p99Millis: _json.containsKey('p99Millis')
? _json['p99Millis'] as core.String
: null,
slowBitmapUploadCount: _json.containsKey('slowBitmapUploadCount')
? _json['slowBitmapUploadCount'] as core.String
: null,
slowDrawCount: _json.containsKey('slowDrawCount')
? _json['slowDrawCount'] as core.String
: null,
slowUiThreadCount: _json.containsKey('slowUiThreadCount')
? _json['slowUiThreadCount'] as core.String
: null,
totalFrames: _json.containsKey('totalFrames')
? _json['totalFrames'] as core.String
: null,
);