updateKYC method
Implementation
Future<void> updateKYC(String kycField) async {
try {
final jsonData = jsonEncode({'kycField': kycField});
await _updateKYCChannel.invokeMethod('updateKYC', jsonData);
print('Method called in AppDelegate');
} on PlatformException catch (e) {
print("Failed to invoke method: '${e.message}'.");
} catch (e) {
print("catch an error = $e}");
}
}