Skip to content
This repository was archived by the owner on Aug 5, 2024. It is now read-only.
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
checklines null optionnal
  • Loading branch information
FabienZE committed Jan 27, 2023
commit cd1b040944b00fcbbae856f599699e367df6fa87
2 changes: 1 addition & 1 deletion dart/DMPClass.dart
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ class DiffMatchPatch {
* internally for recursive calls. Users should set DiffTimeout instead.
* Returns a List of Diff objects.
*/
List<Diff> diff_main(String? text1, String? text2, [bool checklines = true, DateTime? deadline]) {
List<Diff> diff_main(String? text1, String? text2, [bool? checklines, DateTime? deadline]) {
// Set a deadline by which time the diff must be complete.
if (deadline == null) {
deadline = new DateTime.now();
Expand Down