getApplicationSettings method

Future<List<ApplicationSettings>> getApplicationSettings(
  1. String sdkId
)

Implementation

Future<List<ApplicationSettings>> getApplicationSettings(String sdkId) async {
	final res = await _methodChannel.invokeMethod<String>(
		'ApplicationSettingsApi.getApplicationSettings',
		{
			"sdkId": sdkId,
		}
	);
	if (res == null) throw AssertionError("received null result from platform method getApplicationSettings");
	final parsedResJson = jsonDecode(res);
	return (parsedResJson as List<dynamic>).map((x1) => ApplicationSettings.fromJSON(x1) ).toList();
}