RuleUsage.fromJson constructor
Implementation
factory RuleUsage.fromJson(Map<String, dynamic> json) {
return RuleUsage(
styleSheetId: StyleSheetId.fromJson(json['styleSheetId'] as String),
startOffset: json['startOffset'] as num,
endOffset: json['endOffset'] as num,
used: json['used'] as bool? ?? false,
);
}