toJson method

Map<String, dynamic> toJson()

The JSON representation of this expectation.

Implementation

Map<String, dynamic> toJson() => {
      'ruleId': ruleId,
      'wcag': wcag,
      'identifier': identifier,
    };