type method

void type(
  1. String type
)

Sets the data type, for example int or geopoint.

Implementation

void type(String type) => attributes['type'] = type;