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