This commit is contained in:
parent
d125cb47d6
commit
ee1638e1dd
@ -159,7 +159,8 @@ class Mount with ChangeNotifier {
|
|||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
return jsonDecode(response.body)['Location'] as String;
|
final location = jsonDecode(response.body)['Location'] as String;
|
||||||
|
return location.trim().isEmpty ? null : location;
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
debugPrint('$e');
|
debugPrint('$e');
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user