LandmarkJson class Places

Lightweight structure for serializing landmark information.

Use LandmarkJson to construct a data object that can be serialized and passed to SDK import or bulk operations. This class focuses on storing commonly-used fields (coordinates, name, description, author, image, address and extra info).

Constructors

LandmarkJson({required Coordinates? coordinates, String? name, String? description, String? author, GemImage? image, ExtraInfo? extrainfo, AddressInfo? address})

Properties

address AddressInfo?
getter/setter pair
author String?
getter/setter pair
coordinates Coordinates?
final
description String?
getter/setter pair
extrainfo ExtraInfo?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
image ↔ GemImage?
getter/setter pair
name String?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Converts this object to a JSON-compatible map suitable for SDK calls.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited