getConfig method
Get SDK configuration from native code
Implementation
Future<Map<String, dynamic>> getConfig() async {
try {
final result = await _channel.invokeMethod<Map<dynamic, dynamic>>('getConfig');
if (result != null) {
return result.map((key, value) => MapEntry(key.toString(), value));
}
return {};
} on PlatformException {
return {};
}
}