getSync method
Get a single object by its id
or null
if the object does not exist.
Implementation
OBJ? getSync(Id id) {
return getAllSync([id])[0];
}
Get a single object by its id
or null
if the object does not exist.
OBJ? getSync(Id id) {
return getAllSync([id])[0];
}