lor_deck_codes_dart 3.0.0 copy "lor_deck_codes_dart: ^3.0.0" to clipboard
lor_deck_codes_dart: ^3.0.0 copied to clipboard

Dart library for decoding and encoding decks in Legend of Runeterra.

example/example.dart

import 'package:lor_deck_codes_dart/CardCodeAndCount.dart';
import 'package:lor_deck_codes_dart/LoRDeckEncoder.dart';

void main() {
  List<CardCodeAndCount> deck = LoRDeckEncoder.GetDeckFromCode(
      'CEAQQAIAAECAMFBCEQTTMAQCAEBASGQFAEAAGCYSDUXQCAQBAADQY');
  for (var card in deck) {
    print(card.Count.toString() + ':' + card.CardCode);
  }
  String code = LoRDeckEncoder.GetCodeFromDeck(deck);
  print(code);
}
2
likes
40
pub points
0%
popularity

Publisher

unverified uploader

Dart library for decoding and encoding decks in Legend of Runeterra.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

fixnum

More

Packages that depend on lor_deck_codes_dart