toMap method

Map<String, Object> toMap()

Implementation

Map<String, Object> toMap() => {
      'rule': rule,
      'priority': priority,
      'category': category,
      'occurrences': occurrenceCount,
      'example': exampleMessage,
      'files': fileCount,
    };