populate method

void populate(
  1. List<String>? choices
)

Implementation

void populate(List<String>? choices) {
  debugPrint("Populated: ${choices?.join(", ") ?? ""}");
  state = choices ?? [];
}