UnifiedDiffHunkHeaderConfig class final

A shared configuration for creating the string representation of a UnifiedDiffHunkHeader.

Annotations
  • @immutable

Constructors

UnifiedDiffHunkHeaderConfig({String openTag = '@@', String closeTag = '@@', String? defaultLabel})
Create a new UnifiedDiffHunkHeaderConfig with the specified openTag, closeTag, and defaultLabel.
const

Properties

closeTag → String
The tag that usually appears after the line information in a unified diff hunk header.
final
defaultLabel → String?
The optional text that usually appears after the closeTag in a unified diff hunk header.
final
hashCode → int
The hash code for this object.
no setterinherited
openTag → String
The tag that usually appears at the beginning of a unified diff hunk header.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

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