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 \"json_dart.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 \"json_dart.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