ExecutionStats.fromJson constructor
ExecutionStats.fromJson(
- Object? j
Implementation
factory ExecutionStats.fromJson(Object? j) {
final json = j as Map<String, Object?>;
return ExecutionStats(
resultsReturned: switch (json['resultsReturned']) {
null => 0,
Object $1 => decodeInt64($1),
},
executionDuration: switch (json['executionDuration']) {
null => null,
Object $1 => Duration.fromJson($1),
},
readOperations: switch (json['readOperations']) {
null => 0,
Object $1 => decodeInt64($1),
},
debugStats: switch (json['debugStats']) {
null => null,
Object $1 => Struct.fromJson($1),
},
);
}