BatchSample.fromJson constructor
Implementation
factory BatchSample.fromJson(Map<String, dynamic> json) {
return BatchSample(
id: _readInt(json['id'], fallback: 0),
depth: _readInt(json['depth'], fallback: 0),
startedAt: _readInt(json['startedAt'], fallback: 0),
endedAt: _readInt(json['endedAt'], fallback: 0),
durationMs: _readInt(json['durationMs'], fallback: 0),
writeCount: _readInt(json['writeCount'], fallback: 0),
);
}