MethodChannelPlatform class

Inheritance

Constructors

MethodChannelPlatform()

Properties

hashCode int
The hash code for this object.
no setterinherited
methodChannel MethodChannel
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

clearAttributes({required String matchingKey, required String? bucketingKey}) Future<bool>
destroy({required String matchingKey, required String? bucketingKey}) Future<void>
flush({required String matchingKey, required String? bucketingKey}) Future<void>
getAllAttributes({required String matchingKey, required String? bucketingKey}) Future<Map<String, dynamic>>
getAttribute({required String matchingKey, required String? bucketingKey, required String attributeName}) Future
getClient({required String matchingKey, required String? bucketingKey}) Future<void>
getTreatment({required String matchingKey, required String? bucketingKey, required String splitName, Map<String, dynamic> attributes = const {}}) Future<String>
getTreatments({required String matchingKey, required String? bucketingKey, required List<String> splitNames, Map<String, dynamic> attributes = const {}}) Future<Map<String, String>>
getTreatmentsByFlagSet({required String matchingKey, required String? bucketingKey, required String flagSet, Map<String, dynamic> attributes = const {}}) Future<Map<String, String>>
getTreatmentsByFlagSets({required String matchingKey, required String? bucketingKey, required List<String> flagSets, Map<String, dynamic> attributes = const {}}) Future<Map<String, String>>
getTreatmentsWithConfig({required String matchingKey, required String? bucketingKey, required List<String> splitNames, Map<String, dynamic> attributes = const {}}) Future<Map<String, SplitResult>>
getTreatmentsWithConfigByFlagSet({required String matchingKey, required String? bucketingKey, required String flagSet, Map<String, dynamic> attributes = const {}}) Future<Map<String, SplitResult>>
getTreatmentsWithConfigByFlagSets({required String matchingKey, required String? bucketingKey, required List<String> flagSets, Map<String, dynamic> attributes = const {}}) Future<Map<String, SplitResult>>
getTreatmentWithConfig({required String matchingKey, required String? bucketingKey, required String splitName, Map<String, dynamic> attributes = const {}}) Future<SplitResult>
getUserConsent() Future<UserConsent>
handle(MethodCall call) Future<void>
impressionsStream() Stream<Impression>
init({required String apiKey, required String matchingKey, required String? bucketingKey, SplitConfiguration? sdkConfiguration}) Future<void>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onReady({required String matchingKey, required String? bucketingKey}) Future<void>?
onReadyFromCache({required String matchingKey, required String? bucketingKey}) Future<void>?
onTimeout({required String matchingKey, required String? bucketingKey}) Future<void>?
onUpdated({required String matchingKey, required String? bucketingKey}) Stream<void>?
removeAttribute({required String matchingKey, required String? bucketingKey, required String attributeName}) Future<bool>
setAttribute({required String matchingKey, required String? bucketingKey, required String attributeName, required dynamic value}) Future<bool>
setAttributes({required String matchingKey, required String? bucketingKey, required Map<String, dynamic> attributes}) Future<bool>
setUserConsent(bool enabled) Future<void>
split({required String splitName}) Future<SplitView?>
splitNames() Future<List<String>>
splits() Future<List<SplitView>>
toString() String
A string representation of this object.
inherited
track({required String matchingKey, required String? bucketingKey, required String eventType, String? trafficType, double? value, Map<String, dynamic> properties = const {}}) Future<bool>

Operators

operator ==(Object other) bool
The equality operator.
inherited