MergeHunk class
Information about merge hunks in a merge or pull request operation.
Constructors
- MergeHunk({MergeHunkDetail? base, MergeHunkDetail? destination, bool? isConflict, MergeHunkDetail? source})
-
MergeHunk.fromJson(Map<
String, dynamic> json) -
factory
Properties
- base → MergeHunkDetail?
-
Information about the merge hunk in the base of a merge or pull request.
final
- destination → MergeHunkDetail?
-
Information about the merge hunk in the destination of a merge or pull
request.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isConflict → bool?
-
A Boolean value indicating whether a combination of hunks contains a
conflict. Conflicts occur when the same file or the same lines in a file
were modified in both the source and destination of a merge or pull request.
Valid values include true, false, and null. True when the hunk represents a
conflict and one or more files contains a line conflict. File mode conflicts
in a merge do not set this to true.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- source → MergeHunkDetail?
-
Information about the merge hunk in the source of a merge or pull request.
final
Methods
-
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