toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (acknowledgedResourceViolationCount != null)
        'acknowledgedResourceViolationCount':
            acknowledgedResourceViolationCount!,
      if (acknowledgedViolationCount != null)
        'acknowledgedViolationCount': acknowledgedViolationCount!,
      if (activeResourceViolationCount != null)
        'activeResourceViolationCount': activeResourceViolationCount!,
      if (activeViolationCount != null)
        'activeViolationCount': activeViolationCount!,
    };