enable2faForUserWithGroup method

Future<void> enable2faForUserWithGroup(
  1. String sdkId,
  2. String userId,
  3. String groupId,
  4. Enable2faRequest request,
)

Implementation

Future<void> enable2faForUserWithGroup(String sdkId, String userId, String groupId, Enable2faRequest request) async {
	final res = await _methodChannel.invokeMethod<String>(
		'UserApi.enable2faForUserWithGroup',
		{
			"sdkId": sdkId,
			"userId": jsonEncode(userId),
			"groupId": jsonEncode(groupId),
			"request": jsonEncode(Enable2faRequest.encode(request)),
		}
	);
}