1

There is a usage of [ and ] in constructor like this:

class Host {
  Host([this.hostName]);
  final String? hostName;
}

What does it mean here?

rozerro
  • 5,787
  • 9
  • 46
  • 94

0 Answers0