setAttributes method

  1. @override
Future<bool> setAttributes(
  1. Map<String, dynamic> attributes
)
override

Stores a set of custom attributes to be used in all evaluations.

Specify a Map of attributes in attributes.

Returns true if the operation was successful; false otherwise.

Implementation

@override
Future<bool> setAttributes(Map<String, dynamic> attributes) async {
  return _platform.setAttributes(
      matchingKey: _matchingKey,
      bucketingKey: _bucketingKey,
      attributes: attributes);
}