removeExternalJwtConfig method

Future<Group> removeExternalJwtConfig(
  1. String sdkId,
  2. String groupId,
  3. String key
)

Implementation

Future<Group> removeExternalJwtConfig(String sdkId, String groupId, String key) async {
	final res = await _methodChannel.invokeMethod<String>(
		'GroupApi.removeExternalJwtConfig',
		{
			"sdkId": sdkId,
			"groupId": jsonEncode(groupId),
			"key": jsonEncode(key),
		}
	).catchError(convertPlatformException);
	if (res == null) throw AssertionError("received null result from platform method removeExternalJwtConfig");
	final parsedResJson = jsonDecode(res);
	return Group.fromJSON(parsedResJson);
}