EnumTypes class

Enum types.

Annotations
  • @JsonSerializable(createFactory: true, createToJson: true, explicitToJson: true)

Constructors

EnumTypes({List<SchemaEnum>? model, required List<SchemaEnum> prisma})
Create a new enum types.
const
EnumTypes.fromJson(Map<String, dynamic> json)
Enum types from JSON factory constructor.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
model List<SchemaEnum>?
For mode namespace enum types.
final
prisma List<SchemaEnum>
For prisma namespace enum types.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Enum types as JSON map.
toString() String
Enum types as JSON string.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited