19 : name_(
Utils::StrDup(
name)), func_(func) {}
26void NativeMessageHandler::CheckAccess()
const {
32 std::unique_ptr<Message>
message) {
static Isolate * Current()
NativeMessageHandler(const char *name, Dart_NativeMessageHandler func)
Dart_NativeMessageHandler func() const
MessageStatus HandleMessage(std::unique_ptr< Message > message)
void(* Dart_NativeMessageHandler)(Dart_Port dest_port_id, Dart_CObject *message)
Dart_CObject * ReadApiMessage(Zone *zone, Message *message)