Flutter Engine
tonic::DartApiScope Class Reference

#include <dart_api_scope.h>

Public Member Functions

 DartApiScope ()
 
 ~DartApiScope ()
 

Detailed Description

Definition at line 13 of file dart_api_scope.h.

Constructor & Destructor Documentation

◆ DartApiScope()

tonic::DartApiScope::DartApiScope ( )
inline

Definition at line 15 of file dart_api_scope.h.

15 { Dart_EnterScope(); }

◆ ~DartApiScope()

tonic::DartApiScope::~DartApiScope ( )
inline

Definition at line 16 of file dart_api_scope.h.

16  {
17  if (Dart_CurrentIsolate())
18  Dart_ExitScope();
19  }

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