split_openfeature_provider_dart_client 0.1.0
split_openfeature_provider_dart_client: ^0.1.0 copied to clipboard
Split OpenFeature provider for Dart (client-side / static-context) — adapts splitio_client_side to the OpenFeature FeatureProvider contract.
0.1.0 (September 15, 2026)
Initial release. Split OpenFeature provider for Dart (client-side / static-context) — adapts splitio_client_side to the openfeature_dart_client_sdk FeatureProvider contract. Features:
- Provider metadata name
"split". - Flag resolution for boolean, string, integer, double, and structure.
reasonpopulated as"TARGETING_MATCH"on success.- Raw Split treatment config JSON exposed under
flagMetadata['config']. - Empty
ProviderHookslist. initializeaccepts adomainparameter.- Idempotent
shutdown;initializeafter shutdown is rejected. onContextChangedrebinds to a new Split client for the new targeting key.trackforwards to Split; requires a non-emptytrafficTypeattribute.- Emits
PROVIDER_READY,PROVIDER_ERROR,PROVIDER_CONFIGURATION_CHANGED, andPROVIDER_CONTEXT_CHANGED. - Treatment parsing: boolean (
on/true/off/false, case-insensitive), integer, double (rejectsNaN), and structure (JSON object). Parse failures surface asErrorCode.parseError; Split's'control'treatment surfaces asErrorCode.flagNotFound. - Attribute forwarding: non-
trafficTypeattributes onEvaluationContextare forwarded to Split as evaluation attributes. - Runs on all Dart targets: Dart VM, Flutter Android/iOS/Web/Desktop. No
dart:html,dart:io, ordart:ffiin the provider. - Aligned with
openfeature_dart_client_sdk0.0.1-beta.1 andsplitio_client_side1.1.0.