OutputTypeRefType class sealed
@see https://github.com/prisma/prisma/blob/main/packages/generator-helper/src/dmmf.ts#L176 @see https://github.com/prisma/prisma/blob/main/packages/generator-helper/src/dmmf.ts#L181 @see https://github.com/prisma/prisma/blob/main/packages/generator-helper/src/dmmf.ts#L186
- Implementers
- Annotations
-
- @freezed
Constructors
- OutputTypeRefType.enum_(SchemaEnum value)
-
constfactory
-
OutputTypeRefType.fromJson(Map<
String, dynamic> json) -
factory
- OutputTypeRefType.object(OutputType value)
-
constfactory
- OutputTypeRefType.string(String value)
-
constfactory
Properties
Methods
-
map<
TResult extends Object?> ({required TResult string(StringOutputTypeRefType value), required TResult object(ObjectOutputTypeRefType value), required TResult enum_(EnumOutputTypeRefType value)}) → TResult -
inherited
-
mapOrNull<
TResult extends Object?> ({TResult? string(StringOutputTypeRefType value)?, TResult? object(ObjectOutputTypeRefType value)?, TResult? enum_(EnumOutputTypeRefType value)?}) → TResult? -
inherited
-
maybeMap<
TResult extends Object?> ({TResult string(StringOutputTypeRefType value)?, TResult object(ObjectOutputTypeRefType value)?, TResult enum_(EnumOutputTypeRefType value)?, required TResult orElse()}) → TResult -
inherited
-
maybeWhen<
TResult extends Object?> ({TResult string(String value)?, TResult object(OutputType value)?, TResult enum_(SchemaEnum value)?, required TResult orElse()}) → TResult -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
when<
TResult extends Object?> ({required TResult string(String value), required TResult object(OutputType value), required TResult enum_(SchemaEnum value)}) → TResult -
inherited
-
whenOrNull<
TResult extends Object?> ({TResult? string(String value)?, TResult? object(OutputType value)?, TResult? enum_(SchemaEnum value)?}) → TResult? -
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited