closeQuoteFor function
Implementation
String closeQuoteFor(String openQuote) {
return const {
'"': '"',
"'": "'",
'"""': '"""',
"'''": "'''",
'r"': '"',
"r'": "'",
'r"""': '"""',
"r'''": "'''",
'\$': '\$',
}[openQuote]!;
}