DeepSource has joined Harness. Learn more
Dart Analyze logoDart Analyze/
DRT-W1052

Avoid escaping inner quotes by converting surrounding quotesDRT-W1052

Major severityMajor
Anti-pattern categoryAnti-pattern

Avoid escaping inner quotes by converting surrounding quotes.

BAD:

var s = 'It\'s not fun';

GOOD:

var s = "It's not fun";