jsonEncode(this)抛出的异常被吃掉了,所以需要写成jsonEncode(toJson())
@override String toString() { return 'Location(${jsonEncode(toJson())})'; }