hasStringifyMixin function

bool hasStringifyMixin(
  1. ClassDeclaration node
)

Implementation

bool hasStringifyMixin(ClassDeclaration node) =>
    node.withClause?.mixinTypes.any(
      (NamedType t) => t.name.lexeme == MappedFieldsConfig.stringifyMixinName,
    ) ==
    true;