timeStamp property
Get the timestamp.
If no value is set by the user, the timestamp will be set to current time when the landmark is inserted in a landmark store.
- DateTime object
Throws
- An exception if it fails.
Implementation
DateTime get timeStamp {
final OperationResult resultString = objectMethod(
_pointerId,
'Landmark',
'getTimeStamp',
);
return DateTime.fromMillisecondsSinceEpoch(
resultString['result'],
isUtc: true,
);
}
Set the timestamp.
Parameters
- IN time DateTime object
Throws
- An exception if it fails.
Implementation
set timeStamp(final DateTime time) {
objectMethod(
_pointerId,
'Landmark',
'setTimeStamp',
args: time.millisecondsSinceEpoch,
);
}