discontinuedPackage dart_code_metrics has been discontinued.

Config class

Class representing config

Annotations
  • @immutable

Constructors

Config({required Iterable<String> excludePatterns, required Iterable<String> excludeForMetricsPatterns, required Map<String, Object> metrics, required Map<String, Map<String, Object>> rules, required Map<String, Map<String, Object>> antiPatterns})
const
Config.fromAnalysisOptions(AnalysisOptions options)
factory

Properties

antiPatterns → Map<String, Map<String, Object>>
final
excludeForMetricsPatterns → Iterable<String>
final
excludePatterns → Iterable<String>
final
hashCode → int
The hash code for this object.
no setterinherited
metrics → Map<String, Object>
final
rules → Map<String, Map<String, Object>>
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

merge(Config overrides) → Config
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited