constructor Method

SchemaUnitProvider(contextOrLocater: ISchemaLocater, _unitExtraData: UnitExtraData[][]): SchemaUnitProvider

Parameter Type Description
contextOrLocater ISchemaLocater The SchemaContext or a different ISchemaLocater implementation used to retrieve the schema. The SchemaContext
class implements the ISchemaLocater interface. If the provided locater is not a SchemaContext instance a new SchemaContext will be
created and the locater will be added.
_unitExtraData UnitExtraData[] Additional data like alternate display label not found in Units Schema to match with Units; Defaults to empty array.

Returns - SchemaUnitProvider

Defined in

Last Updated: 22 August, 2025