ModelGeoValue constructor
const
ModelGeoValue([
- GeoValue? value
Define a model GeoValue that stores location information.
The base value is given as value
. If not given, latitude and longitude are set to 0.
This can be passed to the server for searching by GeoHash.
位置情報を保存するGeoValueをモデルとして定義します。
ベースの値をvalue
として与えます。与えられなかった場合緯度・経度が0としてセットされます。
これをサーバーに渡すことでGeoHashによる検索が可能です。
Implementation
const factory ModelGeoValue([GeoValue? value]) = _ModelGeoValue;