GoogleCloudDataplexV1DataQualityRuleResult.fromJson constructor

GoogleCloudDataplexV1DataQualityRuleResult.fromJson(
  1. Map json_
)

Implementation

GoogleCloudDataplexV1DataQualityRuleResult.fromJson(core.Map json_)
    : this(
        assertionRowCount: json_.containsKey('assertionRowCount')
            ? json_['assertionRowCount'] as core.String
            : null,
        evaluatedCount: json_.containsKey('evaluatedCount')
            ? json_['evaluatedCount'] as core.String
            : null,
        failingRowsQuery: json_.containsKey('failingRowsQuery')
            ? json_['failingRowsQuery'] as core.String
            : null,
        nullCount: json_.containsKey('nullCount')
            ? json_['nullCount'] as core.String
            : null,
        passRatio: json_.containsKey('passRatio')
            ? (json_['passRatio'] as core.num).toDouble()
            : null,
        passed:
            json_.containsKey('passed') ? json_['passed'] as core.bool : null,
        passedCount: json_.containsKey('passedCount')
            ? json_['passedCount'] as core.String
            : null,
        rule: json_.containsKey('rule')
            ? GoogleCloudDataplexV1DataQualityRule.fromJson(
                json_['rule'] as core.Map<core.String, core.dynamic>)
            : null,
      );