isPartOf method

  1. @protected
bool isPartOf(
  1. String content
)

Parameters:

  • content: The Dart source code to check

Returns true if the content contains a valid part of directive.

Example:

final isPart = ReflectUtils.isPartOf('part of my_library;');

Implementation

@protected
bool isPartOf(String content) => RuntimeUtils.isPartOf(content);