preludeShapes property

Map<ShapeId, Shape> preludeShapes
final

Implementation

static final preludeShapes = <ShapeId, Shape>{
  BigDecimalShape.id: BigDecimalShape(),
  BigIntegerShape.id: BigIntegerShape(),
  BlobShape.id: BlobShape(),
  BooleanShape.id: BooleanShape(),
  ByteShape.id: ByteShape(),
  DocumentShape.id: DocumentShape(),
  DoubleShape.id: DoubleShape(),
  FloatShape.id: FloatShape(),
  IntegerShape.id: IntegerShape(),
  LongShape.id: LongShape(),
  PrimitiveBooleanShape.id: PrimitiveBooleanShape(),
  PrimitiveByteShape.id: PrimitiveByteShape(),
  PrimitiveDoubleShape.id: PrimitiveDoubleShape(),
  PrimitiveFloatShape.id: PrimitiveFloatShape(),
  PrimitiveIntegerShape.id: PrimitiveIntegerShape(),
  PrimitiveLongShape.id: PrimitiveLongShape(),
  PrimitiveShortShape.id: PrimitiveShortShape(),
  ShortShape.id: ShortShape(),
  StringShape.id: StringShape(),
  TimestampShape.id: TimestampShape(),
  unit: StructureShape(
    (b) => b
      ..shapeId = unit
      ..members = NamedMembersMap({})
      ..traits![unit] = const UnitTypeTrait(),
  ),
};