json_to_script_dart/json_to_script
library
Functions
-
jsonToScripts(List<Map> scripts_origin, {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, 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, 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, required void paramFunction(String text), required void paramJson(String text)})
→ String
-