@override Future<void> writeChunk(String session, Uint8List data) async { return await methodChannel.invokeMethod<void>('writeChunk', { 'session': session.toString(), 'data': data, }); }