qr/dart
2020-08-18 18:48:14 +02:00
..
example dart: initial 2020-05-13 13:56:35 +02:00
lib Pub-ready version 2020-08-17 23:57:59 +02:00
test dart: initial 2020-05-13 13:56:35 +02:00
.gitignore dart: initial 2020-05-13 13:56:35 +02:00
analysis_options.yaml dart: initial 2020-05-13 13:56:35 +02:00
CHANGELOG.md Pub-ready version 2020-08-17 23:57:59 +02:00
LICENSE Pub-ready version 2020-08-17 23:57:59 +02:00
pubspec.yaml Pub-ready version 2020-08-17 23:57:59 +02:00
README.md Add pub badges to readme 2020-08-18 18:48:14 +02:00

UONET+ QR Code converter for Dart

npm

Instalation

dependencies:
  uonet_qr: ^1.0.0

Usage

import 'package:uonet_qr/uonet_qr.dart' as qr;

void main() {

	final password = '0123456789ABCDEF';
	final rawContent = 'CERT#https://api.fakelog.cf/Default/mobile-api#FK100000#ENDCERT';
	final base64Content = '27Grk6d8ZDely5eeF7j2ngWrWV9eZa5Dz9ZmuiBavysDp74TCr6EHJOs6TaIXFh3HsROWSM11pv3cPvRGSi7Nw==';

	final decoded = qr.decode(password, base64Content);

	final encoded = qr.encode(password, rawContent);
}

Tests

$ pub run test