map function

SchemaType map(
  1. SchemaType itemType
)

Creates a schema type representing a string-keyed map with values of the given item type.

Implementation

SchemaType map(SchemaType itemType) {
  return SchemaType.map(itemType);
}