APIEntityTypeExtension extension

Extension for entity Types.

on

Properties

isEntityIDPrimitiveType → bool

Available on Type, provided by the APIEntityTypeExtension extension

Returns true if this Type is an int or String.
no setter
isEntityIDType → bool

Available on Type, provided by the APIEntityTypeExtension extension

Returns true if this Type is an int, BigInt or String.
no setter
isEntityReferenceBaseType → bool

Available on Type, provided by the APIEntityTypeExtension extension

Returns true if this Type is an EntityReference or EntityReferenceList.
no setter
typeInfo → TypeInfo

Available on Type, provided by the APIEntityTypeExtension extension

Returns this type as a TypeInfo.
no setter

Methods

tryParse<V>(Object? value, [V? def]) → V?

Available on Type, provided by the APIEntityTypeExtension extension

Parses value using TypeInfo.parse.