Flutter Engine
The Flutter Engine
Public Attributes | List of all members
FlutterEngineDartObject Struct Reference

#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
 
}; 
 

Detailed Description

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.

Member Data Documentation

◆ 

union { ... } FlutterEngineDartObject::@64

◆ bool_value

bool FlutterEngineDartObject::bool_value

Definition at line 2071 of file embedder.h.

◆ buffer_value

const FlutterEngineDartBuffer* FlutterEngineDartObject::buffer_value

Definition at line 2079 of file embedder.h.

◆ double_value

double FlutterEngineDartObject::double_value

Definition at line 2074 of file embedder.h.

◆ int32_value

int32_t FlutterEngineDartObject::int32_value

Definition at line 2072 of file embedder.h.

◆ int64_value

int64_t FlutterEngineDartObject::int64_value

Definition at line 2073 of file embedder.h.

◆ string_value

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.

◆ type

FlutterEngineDartObjectType FlutterEngineDartObject::type

Definition at line 2069 of file embedder.h.


The documentation for this struct was generated from the following file: