Landmark.fromJson constructor

Landmark.fromJson(
  1. Map json_
)

Implementation

Landmark.fromJson(core.Map json_)
    : this(
        position: json_.containsKey('position')
            ? Position.fromJson(
                json_['position'] as core.Map<core.String, core.dynamic>)
            : null,
        type: json_.containsKey('type') ? json_['type'] as core.String : null,
      );