gen_keys library

Use of this source code is governed by a MIT license that can be found in the LICENSE file. Richard Coutts richard@richardcoutts.com

Classes

GenKeys
build_runner annotation for generating key classes
KeyMeta
Attributes of the key

Functions

generateKeyClass(List<KeyMeta> keyMetas) Future<String>
Generate the class containing the keys
keyDeclarationFromKeyMeta(KeyMeta keyMeta) String
Generates a key declaration within the key class
keyMetasFromSourceCode(String classSourceCode, List<String> keyClasses) List<KeyMeta>
Parses Dart code into key meta data