getIndentLevel static method

Attribute<int?> getIndentLevel(
  1. int? level
)

Implementation

static Attribute<int?> getIndentLevel(int? level) {
  if (level == 1) {
    return indentL1;
  }
  if (level == 2) {
    return indentL2;
  }
  if (level == 3) {
    return indentL3;
  }
  return IndentAttribute(level: level);
}