logPlanLimitHit method

Future<void> logPlanLimitHit({
  1. String? projectType,
})

projectType is omitted by callers with no project in hand — apps create (#30) hits its own plan ceiling outside any detected project.

Implementation

Future<void> logPlanLimitHit({String? projectType}) async {
  await _send('cli_plan_limit_hit', {
    if (projectType != null) 'project_type': projectType,
  });
}