rules/full_mapped_fields/mapped_fields_shared library
Classes
Functions
-
findMappedGetter(
ClassDeclaration node) → MethodDeclaration? -
hasStringifyMixin(
ClassDeclaration node) → bool -
instanceFieldDecls(
ClassDeclaration node) → Iterable< FieldDeclaration> -
instanceFieldNames(
ClassDeclaration node) → Set< String> -
isKeyValueMismatch(
MapLiteralEntry entry) → bool - Проверка mismatch: ключ 'x' и значение x
-
mapEntries(
SetOrMapLiteral map) → Iterable< MapLiteralEntry> -
mappedGetterMapLiteral(
MethodDeclaration getter) → SetOrMapLiteral? -
mappedValueIdentifiers(
SetOrMapLiteral map) → Set< String> - Возвращает имена полей, которые уже "присутствуют" как value = SimpleIdentifier