toJson method

  1. @override
Object toJson()

Implementation

@override
Object toJson() => {
  if (resultsReturned.isNotDefault)
    'resultsReturned': resultsReturned.toString(),
  if (executionDuration case final executionDuration?)
    'executionDuration': executionDuration.toJson(),
  if (readOperations.isNotDefault)
    'readOperations': readOperations.toString(),
  if (debugStats case final debugStats?) 'debugStats': debugStats.toJson(),
};