asMap method

Map asMap()

The function returns a map with the type, type value, and version as key-value pairs.

Implementation

Map asMap() => {
      'type': type.getDocumentsApiQueryTypeAsString(),
      'typeValue': typeValue,
      'version': version
    };