representation property

APISchemaRepresentation representation
inherited

Implementation

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

  return APISchemaRepresentation.primitive;
}