forceInitializeExchangeDataToNewlyInvitedPatient method

Future<bool> forceInitializeExchangeDataToNewlyInvitedPatient(
  1. String sdkId,
  2. String patientId
)

Implementation

Future<bool> forceInitializeExchangeDataToNewlyInvitedPatient(String sdkId, String patientId) async {
	final res = await _methodChannel.invokeMethod<String>(
		'PatientApi.forceInitializeExchangeDataToNewlyInvitedPatient',
		{
			"sdkId": sdkId,
			"patientId": jsonEncode(patientId),
		}
	);
	if (res == null) throw AssertionError("received null result from platform method forceInitializeExchangeDataToNewlyInvitedPatient");
	final parsedResJson = jsonDecode(res);
	return (parsedResJson as bool);
}