operationResponse method

  1. @override
Future<Map> operationResponse({
  1. required String id,
  2. required String? transactionHash,
})
override

send operation response id beacon request id transactionHash transactionHash from the operation

Implementation

@override
Future<Map> operationResponse(
    {required String id, required String? transactionHash}) async {
  Map<String, dynamic> args = <String, dynamic>{};
  args.putIfAbsent("id", () => id);
  args.putIfAbsent("transactionHash", () => transactionHash);
  Map data = await methodChannel.invokeMethod('tezosResponse', args);
  return data;
}