5#ifndef LIB_TONIC_DART_PERSISTENT_VALUE_H_
6#define LIB_TONIC_DART_PERSISTENT_VALUE_H_
10#include "third_party/dart/runtime/include/dart_api.h"
35 const std::weak_ptr<DartState>&
dart_state()
const {
return dart_state_; }
38 std::weak_ptr<DartState> dart_state_;
void Set(DartState *dart_state, Dart_Handle value)
const std::weak_ptr< DartState > & dart_state() const
Dart_PersistentHandle value() const
struct _Dart_Handle * Dart_Handle
Dart_Handle Dart_PersistentHandle