initialize method
Initialize the Zettle SDK with configuration
Implementation
@override
Future<void> initialize(ZettleConfig config) async {
try {
await methodChannel.invokeMethod('initialize', config.toMap());
} on PlatformException catch (e) {
throw ZettleException(
code: e.code,
message: e.message ?? 'Failed to initialize SDK',
details: e.details,
);
}
}