Added Error handling

This commit is contained in:
Mohammad Salameh
2024-03-10 08:56:06 +03:00
parent d70c370c2e
commit 5a7787b42d
7 changed files with 37 additions and 128 deletions

View File

@ -36,7 +36,7 @@ class ParserHelper {
}
static String roundArea(dynamic value) {
if (value.isNotEmpty && value.contains(' ')) {
if (value.accessTokenIsNotEmpty && value.contains(' ')) {
List<String> split = value!.split(' ');
String formattedArea = ParserHelper.roundNumber(split[0]);