warmUp method

  1. @override
Future<String?> warmUp()
override

Triggers the SoftPOS warm-up process.

Implementation

@override
Future<String?> warmUp() async {
  try {
    final result = await methodChannel.invokeMethod<String>('warmUp');
    return result;
  } on PlatformException catch (e) {
    return e.message;
  }
}