initialize method
Initializes the native SDK and sets up event callbacks. The event sent to Flutter will have keys:
- event_type: "hce_event" | "hce_complete"
- message: String
- is_success: bool
- amount: String
- merchant: String
- location: Map (may be {})
- transaction_count: String
- timestamp: String
Implementation
Future<bool> initialize(Map<String, dynamic> data, CloudCardScannedCallback? onHceEventNavigateTo, {CloudCardScannedCallback? onScanComplete}) async {
return false;
}