getAllFeatureFlags method
Implementation
@override
Future<List<PostHogFeatureFlagResult>?> getAllFeatureFlags() async {
final results =
await handleWebMethodCall(const MethodCall('getAllFeatureFlags'));
if (results is! List) return null;
return results
.map((result) => PostHogFeatureFlagResult.fromMap(result, ''))
.nonNulls
.toList();
}