setAttribute method
Future<bool>
setAttribute(
{ - required String matchingKey,
- required String? bucketingKey,
- required String attributeName,
- required dynamic value,
})
Implementation
@override
Future<bool> setAttribute(
{required String matchingKey,
required String? bucketingKey,
required String attributeName,
required value}) async {
var result = await methodChannel.invokeMethod(
'setAttribute',
_buildParameters(matchingKey, bucketingKey,
{'attributeName': attributeName, 'value': value}));
if (result is bool) {
return result;
}
return false;
}