isBackgroundIsolate property

Future<bool> isBackgroundIsolate

Implementation

static Future<bool> get isBackgroundIsolate async =>
    (await isBackgroundIsolateSetupComplete()) &&
    (_fromBackgroundIsolateChannel != null);