sendToFrontend method

void sendToFrontend(
  1. int? id,
  2. JSONEncodable? result
)

Implementation

void sendToFrontend(int? id, JSONEncodable? result) {
  server.sendToFrontend(id, result?.toJson());
}