getManagedConfigurations method

Future<Map<String, String>> getManagedConfigurations()

Implementation

Future<Map<String, String>> getManagedConfigurations() async {
  final raw = await _channel.invokeMapMethod<Object?, Object?>(
    'getManagedConfigurations',
  );
  return raw == null
      ? const <String, String>{}
      : raw.map(
          (Object? key, Object? value) => MapEntry(
            key.toString(),
            value?.toString() ?? '',
          ),
        );
}