Flutter Engine
The Flutter Engine
Public Member Functions | List of all members
flutter::DartIsolate::Flags Class Reference

#include <dart_isolate.h>

Public Member Functions

 Flags ()
 
 Flags (const Dart_IsolateFlags *flags)
 
 ~Flags ()
 
void SetNullSafetyEnabled (bool enabled)
 
void SetIsDontNeedSafe (bool value)
 
Dart_IsolateFlags Get () const
 

Detailed Description

Definition at line 65 of file dart_isolate.h.

Constructor & Destructor Documentation

◆ Flags() [1/2]

flutter::DartIsolate::Flags::Flags ( )

Definition at line 66 of file dart_isolate.cc.

66: Flags(nullptr) {}

◆ Flags() [2/2]

flutter::DartIsolate::Flags::Flags ( const Dart_IsolateFlags flags)
explicit

Definition at line 68 of file dart_isolate.cc.

68 {
69 if (flags) {
70 flags_ = *flags;
71 } else {
73 }
74}
DART_EXPORT void Dart_IsolateFlagsInitialize(Dart_IsolateFlags *flags)
FlutterSemanticsFlag flags

◆ ~Flags()

flutter::DartIsolate::Flags::~Flags ( )
default

Member Function Documentation

◆ Get()

Dart_IsolateFlags flutter::DartIsolate::Flags::Get ( ) const

Definition at line 86 of file dart_isolate.cc.

86 {
87 return flags_;
88}

◆ SetIsDontNeedSafe()

void flutter::DartIsolate::Flags::SetIsDontNeedSafe ( bool  value)

Definition at line 82 of file dart_isolate.cc.

82 {
84}
uint8_t value
bool snapshot_is_dontneed_safe
Definition: dart_api.h:595

◆ SetNullSafetyEnabled()

void flutter::DartIsolate::Flags::SetNullSafetyEnabled ( bool  enabled)

Definition at line 78 of file dart_isolate.cc.

78 {
79 flags_.null_safety = enabled;
80}

The documentation for this class was generated from the following files: