#include <embedder.h>
Public Attributes | ||
| FlutterEngineDartObjectType | type | |
| union { | ||
| bool bool_value | ||
| int32_t int32_value | ||
| int64_t int64_value | ||
| double double_value | ||
| const char * string_value | ||
| const FlutterEngineDartBuffer * buffer_value | ||
| }; | ||
This struct specifies the native representation of a Dart object that can be sent via a send port to any isolate in the VM that has the corresponding receive port.
All fields in this struct are copied out in the call to FlutterEnginePostDartObject and the caller is free to reuse or collect this struct after that call.
Definition at line 2386 of file embedder.h.
| union { ... } FlutterEngineDartObject |
| bool FlutterEngineDartObject::bool_value |
Definition at line 2389 of file embedder.h.
| const FlutterEngineDartBuffer* FlutterEngineDartObject::buffer_value |
Definition at line 2397 of file embedder.h.
Referenced by FlutterEnginePostDartObject().
| double FlutterEngineDartObject::double_value |
Definition at line 2392 of file embedder.h.
| int32_t FlutterEngineDartObject::int32_value |
Definition at line 2390 of file embedder.h.
| int64_t FlutterEngineDartObject::int64_value |
Definition at line 2391 of file embedder.h.
| const char* FlutterEngineDartObject::string_value |
A null terminated string. This string will be copied by the VM in the call to FlutterEnginePostDartObject and must be collected by the embedder after that call is made.
Definition at line 2396 of file embedder.h.
Referenced by FlutterEnginePostDartObject().
| FlutterEngineDartObjectType FlutterEngineDartObject::type |
Definition at line 2387 of file embedder.h.
Referenced by FlutterEnginePostDartObject(), flutter::testing::TEST_F(), and flutter::testing::TEST_F().