onLayerChangedForOpponent method

  1. @override
void onLayerChangedForOpponent(
  1. int userId,
  2. int layer
)
override

Implementation

@override
void onLayerChangedForOpponent(int userId, int layer) {
  if (userId != -1 && layer != -1) {
    onLayerChanged?.call(userId, layer);
  }
}