getLandmarkStoreById static method
- int landmarkStoreId
Returns the LandmarkStore with the specified id, or null if not found.
Parameters
landmarkStoreId: The id of the store to retrieve.
Returns
- LandmarkStore?: The store instance when found, otherwise
null.
Implementation
static LandmarkStore? getLandmarkStoreById(final int landmarkStoreId) {
final OperationResult resultString = staticMethod(
'LandmarkStoreService',
'getLandmarkStoreById',
args: landmarkStoreId,
);
if (resultString['result'] == -1) {
return null;
}
final LandmarkStore retVal = LandmarkStore.init(resultString['result'], 0);
return retVal;
}