build static method
Implementation
static Future<PartnerConfiguration?> build(
{required String partnerId,
bool? httpRedirectCaching,
bool? keepAliveMeasurement,
bool? secureTransmission,
Map<String, String>? persistentLabels,
Map<String, String>? startLabels,
String? externalClientId}) async {
var refId = await ClientConfiguration.newInstance(
type: ClientConfigurationType.partnerConfiguration,
clientId: partnerId,
httpRedirectCaching: httpRedirectCaching,
keepAliveMeasurement: keepAliveMeasurement,
secureTransmission: secureTransmission,
persistentLabels: persistentLabels,
startLabels: startLabels,
other: {"externalClientId": externalClientId});
if (refId == null) {
return null;
}
return PartnerConfiguration.init(refId);
}