there isn't really any since the `this(...)` invoc...
# announcements
k
there isn't really any since the
this(...)
invocation has to come first when invoking the constructor. You can use the
invoke
hack
Copy code
data class GeoLocation... {
  companion object {
    @JvmStatic
    @JvmName("fromString")
    operator fun invoke(value: String) = value.split(" ").let { (lat, lng) -> GeoLocation(lat, lng) }
  }
}