TypeText method

dynamic TypeText()

Return Text From JSON Request

Implementation

TypeText() async {
  final base = RetryClient(http.Client());
  try {
    String DataText =
        await base.read(Uri.parse("$BASE_URL/$Category/$EndPoint"));
    return jsonDecode(DataText)["text"];
  } finally {
    base.close();
  }
}