5#include "flutter/runtime/dart_plugin_registrant.h"
9#include "flutter/fml/logging.h"
10#include "flutter/fml/trace_event.h"
19 TRACE_EVENT0(
"flutter",
"InvokeDartPluginRegistrantIfAvailable");
43 std::string library_name =
45 ?
"package:flutter/src/dart_plugin_registrant.dart"
59 std::string registrant_file_uri_string =
61 if (registrant_file_uri_string.empty()) {
struct _Dart_Handle * Dart_Handle
DART_EXPORT Dart_Handle Dart_LookupLibrary(Dart_Handle url)
DART_EXPORT Dart_Handle Dart_GetClass(Dart_Handle library, Dart_Handle class_name)
DART_EXPORT DART_WARN_UNUSED_RESULT Dart_Handle Dart_GetField(Dart_Handle container, Dart_Handle name)
DART_EXPORT bool Dart_IsError(Dart_Handle handle)
const char * dart_plugin_registrant_library_override
bool InvokeDartPluginRegistrantIfAvailable(Dart_Handle library_handle)
bool FindAndInvokeDartPluginRegistrant()
Dart_Handle ToDart(const T &object)
bool CheckAndHandleError(Dart_Handle handle)
Dart_Handle DartInvokeField(Dart_Handle target, const char *name, std::initializer_list< Dart_Handle > args)
#define TRACE_EVENT0(category_group, name)