languageKeywordDecode function

String languageKeywordDecode(
  1. String name
)

Dart language keyword decode

Implementation

String languageKeywordDecode(String name) {
  if (name.startsWith(r'dart__')) {
    return name.substring(6);
  }

  if (name.startsWith(r'prisma__')) {
    return '_${name.substring(8)}';
  }

  return name;
}