Home > @magiclane/maps-sdk > ContactInfoFieldType > fromId

ContactInfoFieldType.fromId() function

Get ContactInfoFieldType from ID

Signature:

function fromId(id: number): ContactInfoFieldType;

Parameters

Parameter

Type

Description

id

number

The field type ID

Returns:

ContactInfoFieldType

Corresponding ContactInfoFieldType

Exceptions

Error if ID is invalid