Flutter Engine
The Flutter Engine
|
#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 2068 of file embedder.h.
union { ... } FlutterEngineDartObject::@64 |
bool FlutterEngineDartObject::bool_value |
Definition at line 2071 of file embedder.h.
const FlutterEngineDartBuffer* FlutterEngineDartObject::buffer_value |
Definition at line 2079 of file embedder.h.
double FlutterEngineDartObject::double_value |
Definition at line 2074 of file embedder.h.
int32_t FlutterEngineDartObject::int32_value |
Definition at line 2072 of file embedder.h.
int64_t FlutterEngineDartObject::int64_value |
Definition at line 2073 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 2078 of file embedder.h.
FlutterEngineDartObjectType FlutterEngineDartObject::type |
Definition at line 2069 of file embedder.h.