isolate property

Isolate get isolate

Returns the isolate this bucket is bound to.

Example

final bucket = ThreadLocalStorageBucket<int>(null, Isolate.current);
print(bucket.isolate); // prints: Isolate.current

Implementation

Isolate get isolate => _isolate;