reserved top-level constant

List<String> const reserved

Reserved names you can't use as field names.

Implementation

const List<String> reserved = <String>[
    'assert', 'break', 'case', 'catch', 'class', 'const', 'continue', 'default',
    'do', 'else', 'enum', 'extends', 'false', 'final', 'finally', 'for', 'if',
    'in', 'is', 'new', 'null', 'rethrow', 'return', 'super', 'switch', 'this',
    'throw', 'true', 'try', 'var', 'void', 'while', 'with', 'hashCode',
    'noSuchMethod', 'runtimeType', 'toString'
];