| Flutter iOS Embedder |

Public Member Functions | Static Public Member Functions | Friends | List of all members
flutter::Isolate Class Reference

`#include <isolate_scope.h>`

## Public Member Functions
| ~Isolate ()=default

## Static Public Member Functions
static Isolate | Current ()

## Friends
class | IsolateScope

## Detailed Description

This class is a thin wrapper around dart isolate. It can be used as argument to IsolateScope constructor to enter and exit the isolate.

Definition at line 15 of file isolate_scope.h.

## Constructor & Destructor Documentation

## ◆ ~Isolate()

flutter::Isolate::~Isolate | ( |  | ) |
| default

## Member Function Documentation

## ◆ Current()

Isolate flutter::Isolate::Current | ( |  | ) |
| static

Retrieve the current Dart Isolate. If no isolate is current, this results in a crash.

Definition at line 9 of file isolate_scope.cc.

9 {
10 Dart_Isolate isolate = Dart_CurrentIsolate();
11 return Isolate(isolate);
12 }

## Friends And Related Function Documentation

## ◆ IsolateScope

friend class IsolateScope
| friend

Definition at line 28 of file isolate_scope.h.

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

- shell/platform/common/isolate_scope.h
- shell/platform/common/isolate_scope.cc