setWoosmapApiKey method
The function sets the Woosmap API key and returns a future string.
@param apiKey - The apiKey
parameter is a string that represents the Woosmap API key. It is used
to authenticate and authorize your application to access the Woosmap services.
@returns The method is returning a Future object that resolves to a String or null value.
Implementation
@override
Future<String?> setWoosmapApiKey(apiKey) async {
final returnVal =
await methodChannel.invokeMethod<String>('setWoosmapApiKey', apiKey);
return returnVal;
}