static Point decode(Object result) { result as List<Object?>; return Point.fromJson((result.first as Map).cast<String, dynamic>()); }