idSuffix property

String? idSuffix

Returns the last part of this id, which is always a unique identifier.

Note that if multiple types are prefixed, none of those will be returned.

Implementation

String? get idSuffix => id?.split('::').last;
void idSuffix=(String? idSuffix)

Sets the id to have idSuffix as a suffix. This will override the existing id.

Implementation

set idSuffix(String? idSuffix) =>
    id = idSuffix == null ? null : prefixTypeForId(idSuffix);