yBroadcast_send method

void yBroadcast_send(
  1. String action, {
  2. Map<String, dynamic>? params,
})

Implementation

void yBroadcast_send(String action, {Map<String, dynamic>? params}) {
  for (var yPage in yPages) {
    try {
      yPage._broadcastReceivers[action]?.call(params);
    } catch (e) {}
  }
}