fetchConfiguration method
Fetch configuration - matches your React Native fetchConfiguration
Implementation
@override
Future<Map<String, dynamic>> fetchConfiguration(String apiKey, String customerID) async {
try {
final result = await methodChannel.invokeMethod('fetchConfiguration', {
'apiKey': apiKey,
'customerID': customerID
});
return Map<String, dynamic>.from(result);
} on PlatformException catch (e) {
throw Exception('CONFIG_ERROR: ${e.message}');
}
}