representation property

APISchemaRepresentation get representation
inherited

Implementation

APISchemaRepresentation get representation {
  if (type == APIType.array) {
    return APISchemaRepresentation.array;
  } else if (type == APIType.object) {
    return APISchemaRepresentation.object;
  }

  return APISchemaRepresentation.primitive;
}