codeToTvc function

Future<(String, String)> codeToTvc(
  1. String code
)

Convert code to base64 tvc string and return (tvc, hash) or throw error

Implementation

Future<(String, String)> codeToTvc(String code) async {
  final data = await createLib().codeToTvc(code: code);

  return (data[0], data[1]);
}