@override Future<String?> getPlatformVersion() async { try { final version = await _channel.invokeMethod<String>('getPlatformVersion'); return version; } on PlatformException { rethrow; } }