enable2faForUser method

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

Implementation

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