configure method
Configure provider with the specified configuration.
Implementation
Future<void> configure(FCXProviderConfiguration configuration) async {
try {
String method = 'configure';
await _methodChannel.invokeMethod(
'$_PROVIDER.$method',
configuration._toMap(),
);
_configuration = configuration;
_FCXLog._i(runtimeType, method);
} on PlatformException catch (e) {
var exception = FCXException(e.code, e.message);
_FCXLog._e(runtimeType, exception);
throw exception;
}
}