Go constructor

Go(
  1. {required GoContainer item,
  2. required Function onChange,
  3. Key? key}
)

A constructor for the Go class.

Implementation

Go({
  required this.item,
  required super.onChange,
  super.key,
});