Button constructor
Button({})
Creates a Button object.
Implementation
Button({
required super.type,
required super.id,
this.idV1 = "",
required this.owner,
required this.controlId,
required this.lastEvent,
}) : assert(idV1.isEmpty || Validators.isValidIdV1(idV1),
'"$idV1" is not a valid `idV1`'),
assert(controlId >= 0 && controlId <= 8,
'"$controlId" is not a valid `controlId`');