Skip to content

Commit 595cdd1

Browse files
committed
Remove unnecessary comments
1 parent 617a081 commit 595cdd1

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

lib/src/css_parser.dart

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,6 @@ Style declarationsToStyle(Map<String?, List<css.Expression>> declarations) {
7171
&& element.text != "overline" && element.text != "underline" && element.text != "line-through");
7272
List<css.Expression?>? nullableList = value;
7373
css.Expression? textDecorationColor;
74-
/// orElse: will not allow me to return null (even if the compiler says its okay, it errors on runtime).
75-
/// try/catch is a workaround for this.
7674
textDecorationColor = nullableList.firstWhereOrNull(
7775
(element) => element is css.HexColorTerm || element is css.FunctionTerm);
7876
List<css.LiteralTerm?>? potentialStyles = value.whereType<css.LiteralTerm>().toList();

0 commit comments

Comments
 (0)