5#ifndef LIB_TONIC_DART_LIST_H_
6#define LIB_TONIC_DART_LIST_H_
10#include "third_party/dart/runtime/include/dart_api.h"
19 void Set(
size_t index, Dart_Handle
value);
20 Dart_Handle
Get(
size_t index);
23 void Set(
size_t index, T value) {
33 size_t size()
const {
return size_; }
36 explicit operator bool()
const {
return is_valid_; }
43 Dart_Handle dart_handle_;
54 Dart_Handle& exception);
void Set(size_t index, Dart_Handle value)
Dart_Handle dart_handle() const
void Set(size_t index, T value)
Dart_Handle Get(size_t index)
G_BEGIN_DECLS G_MODULE_EXPORT FlValue * args