Skip to content

GetLocalID

String? GetLocalID(Entity(Base)? entity)

System · system operation · implicitly imported

Returns the last segment of the id of an entity.

For an entity with the id A.B.C, the local id is C.

Parameters

  • Entity(Base)? entity — The entity to get the local id of.

Returns

String? — The local id of entity, or null if entity is null.

Errors

A runtime type error if entity is not an Entity.

See Also