PreCommitConfig class

Pre-commit configuration for the current project.

Constructors

PreCommitConfig({required String branchNamingRule, required bool codeStyleCheckEnabled, required bool unitTestsEnabled, required bool integrationTestsEnabled, required bool uiTestsEnabled})
Create a PreCommitConfig.
const
PreCommitConfig.fromJson(Map<String, Object?> json)
Create the current PreCommitConfig from json represented as Map of key value pairs.
factory

Properties

branchNamingRule String
Branch naming rule as regex.
final
codeStyleCheckEnabled bool
If code style check is enabled.
final
hashCode int
The hash code for this object.
no setterinherited
integrationTestsEnabled bool
If integration tests are enabled.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
uiTestsEnabled bool
If UI tests are enabled.
final
unitTestsEnabled bool
If unit tests are enabled.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, Object>
Convert the current PreCommitConfig to a json representation of key value pairs.
toString() String
A string representation of this object.
inherited

Operators

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