isDotShorthand property

bool get isDotShorthand

Implementation

bool get isDotShorthand => switch (this) {
  DotShorthandConstructorInvocation() ||
  DotShorthandPropertyAccess() ||
  DotShorthandInvocation() => true,
  _ => false,
};