fromLandmark property
Gets the traffic event start point as landmark.
Returns
- The pair of
<Landmark, data locally cached flag>
. If the landmark has no local data cached the description and address info is empty. A call to asyncUpdateToFromData must be done in order gather information from server.
Throws
- An exception if it fails.
Implementation
Pair<Landmark, bool> get fromLandmark {
final OperationResult resultString = objectMethod(
_pointerId,
'RouteTrafficEvent',
'getFromLandmark',
);
return Pair<Landmark, bool>(
Landmark.init(resultString['result']['first']),
resultString['result']['second'],
);
}