initialize method
Implementation
@override
Future<String> initialize(
bool logging, String environment, List<String> componentProvider) async {
try {
final String? result = await methodChannel.invokeMethod('initialize', {
'logging': logging,
'environment': environment,
'componentProvider': componentProvider,
});
return result ?? 'Could not initialize.';
} on PlatformException catch (ex) {
return ex.message ?? 'Unexpected error';
}
}