Closed 9thwall closed 4 years ago
Hi I'm looking to export the signature and send it to the server in a json string. What is the best method to achieve this?
I was thinking.. Uint8List signature = await _signatureController.toPngBytes(); String signature64 = base64Encode(signature);
But this is giving me an error Unhandled Exception: type '_InternalLinkedHashMap<String, String>' is not a subtype of type 'String'
Sorry this was the wrong place to post this and the error was my fault. Completely unrelated issue.
Hi I'm looking to export the signature and send it to the server in a json string. What is the best method to achieve this?
I was thinking.. Uint8List signature = await _signatureController.toPngBytes(); String signature64 = base64Encode(signature);
But this is giving me an error Unhandled Exception: type '_InternalLinkedHashMap<String, String>' is not a subtype of type 'String'