startTransaction method

Future<String?> startTransaction()
override

Implementation

Future<String?> startTransaction() async {
  try {
    return await methodChannel.invokeMethod<String>('startTransaction');
  } on PlatformException catch (e) {
    return "Transaction start failed: ${e.message}";
  }
}