length property

dynamic get length

Returns the number of mappings in this instance.

This property provides a convenient way to determine how many prefix-to-URI mappings are defined in this instance, which is useful for debugging and for determining if custom mappings have been added.

Implementation

get length => _mappings.length;