isPrivateName static method

  1. @V1Ast("Use name.startsWith('_') instead.")
bool isPrivateName(
  1. String name
)

Returns true if the given name is visible only within the library in which it's declared.

Implementation

@V1Ast("Use name.startsWith('_') instead.")
static bool isPrivateName(String name) => name.isPrivateName;