getStackLevel static method

int? getStackLevel(
  1. String id
)

Returns the current stack level for an active overlay ID.

Implementation

static int? getStackLevel(String id) {
  final content = getActiveById(id);
  return content?.stackLevel;
}