toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (assertionRowCount != null) 'assertionRowCount': assertionRowCount!,
      if (evaluatedCount != null) 'evaluatedCount': evaluatedCount!,
      if (failingRowsQuery != null) 'failingRowsQuery': failingRowsQuery!,
      if (nullCount != null) 'nullCount': nullCount!,
      if (passRatio != null) 'passRatio': passRatio!,
      if (passed != null) 'passed': passed!,
      if (passedCount != null) 'passedCount': passedCount!,
      if (rule != null) 'rule': rule!,
    };