json_to_script_dart/json_to_script library

Classes

JsonDatasScript

Functions

jsonToScripts(List<Map> scripts_origin, {String? comment, bool isMethodApi = true, required Directory directory, String path_package_json_dart = "import \"package:general_lib/general_lib.dart\";", int try_loop = 2}) Future<Directory>
jsonToScriptStatic(Map<String, dynamic> data, {bool isMethodApi = true, String? comment, required Directory directory, String path_package_json_dart = "import \"package:general_lib/general_lib.dart\";"}) String
textToFunctionDart({required String key, required dynamic value, required String returnType, required String className, bool isClass = false, bool isList = false, String? comment, required void paramFunction(String text), required void paramJson(String text)}) String
textToListFunction({required String key, required String returnType, required String className, bool isClass = false, bool isList = false, String? comment, required void paramFunction(String text), required void paramJson(String text)}) String