@override Future write(String index) async { return await methodChannel.invokeMethod('Write', { "index": index, }); }