dispose static method

void dispose()

تنظيف Isolate

Implementation

static void dispose() {
  _fontLoaderReceivePort.close();
  _fontLoaderIsolate?.kill();
  _fontLoaderIsolate = null;
  _fontLoaderSendPort = null;
  _readyCompleter = null;
  log('FontLoader Isolate disposed.', name: 'FontsLoad');
}