isBuiltValue function

bool isBuiltValue(
  1. ClassElement c
)

Implementation

bool isBuiltValue(ClassElement c) => c.allSupertypes.any((interface) =>
    (interface.element.name == 'Built' ||
        interface.element.name == 'EnumClass') &&
    interface.element.source.uri.toString() ==
        'package:built_value/built_value.dart');