toMap method

Map<String, Attribute<Object>> toMap()

Returns all attributes as a read-only map.

Implementation

Map<String, Attribute> toMap() => Map.unmodifiable(_entries);