nameWithProperty static method

String nameWithProperty(
  1. String name,
  2. Layout? lo
)

Implementation

static String nameWithProperty(String name, Layout? lo) {
  if (lo?.property != null) {
    return '$name[${lo!.property!}]';
  }
  return name;
}