Skip to content

targetMatches is empty or text is empty string error #58

@kianskyaim

Description

@kianskyaim

MatchTargetItem _findMatchedItemForText(String text) {
return targetMatches
.where(
(target) => target.regex?.hasMatch(text) ?? target.text == text,
)
.firstOrNull ??
targetMatches.first;
}

targetMatches.first abnormal

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions