fromLandmark property
Gets the traffic event start point as landmark.
Returns
- The record 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
(Landmark, bool) get fromLandmark {
final OperationResult resultString = objectMethod(
_pointerId,
'RouteTrafficEvent',
'getFromLandmark',
);
return (
Landmark.init(resultString['result']['first']),
resultString['result']['second'],
);
}