gameRef property
BonfireGameInterface
get
gameRef
Implementation
BonfireGameInterface get gameRef {
if (components.isEmpty) {
throw StateError(
'Cannot find reference $BonfireGameInterface in the component',
);
}
return components.first.gameRef;
}