CodeGuard class

Constructors

CodeGuard({required List<String> patterns, required List<String> warnings, required List<String> targetFileTypes, required List<String> explicitIgnoreSubType, required List<String> explicitIgnoreFolder})

Properties

explicitIgnoreFolder List<String>
final
explicitIgnoreSubType List<String>
final
hashCode int
The hash code for this object.
no setterinherited
matches List<String>
final
patterns List<String>
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
targetFileTypes List<String>
final
warnings List<String>
final
warningsMatches List<String>
final

Methods

findMatches({required File file}) Future<List<String>>
getFilesFromDirectory({required List<FileSystemEntity> entities}) Future<List<File>>
isTargetFileType({required File file, required List<String> targetFileTypes, List<String> explicitIgnoreSubType = const []}) bool
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