type property

Type get type

Implementation

Type get type {
  switch (this) {
    case ShapeType.apply:
      return ApplyShape;
    case ShapeType.bigDecimal:
      return BigDecimalShape;
    case ShapeType.bigInteger:
      return BigIntegerShape;
    case ShapeType.blob:
      return BlobShape;
    case ShapeType.boolean:
      return BooleanShape;
    case ShapeType.byte:
      return ByteShape;
    case ShapeType.document:
      return DocumentShape;
    case ShapeType.double:
      return DoubleShape;
    case ShapeType.enum_:
      return StringEnumShape;
    case ShapeType.intEnum:
      return IntEnumShape;
    case ShapeType.float:
      return FloatShape;
    case ShapeType.integer:
      return IntegerShape;
    case ShapeType.list:
      return ListShape;
    case ShapeType.long:
      return LongShape;
    case ShapeType.map:
      return MapShape;
    case ShapeType.member:
      return MemberShape;
    case ShapeType.operation:
      return OperationShape;
    case ShapeType.resource:
      return ResourceShape;
    case ShapeType.service:
      return ServiceShape;
    case ShapeType.set:
      return SetShape;
    case ShapeType.short:
      return ShortShape;
    case ShapeType.string:
      return StringShape;
    case ShapeType.structure:
      return StructureShape;
    case ShapeType.timestamp:
      return TimestampShape;
    case ShapeType.union:
      return UnionShape;
  }
  throw ArgumentError.value(this);
}