ModelMapping class

Annotations
  • @freezed

Constructors

ModelMapping({required String model, String? plural, @JsonKey(readValue: _oneSuffixReader) String? findUnique, @JsonKey(readValue: _oneSuffixReader) String? findUniqueOrThrow, @JsonKey(readValue: _oneSuffixReader) String? findFirst, @JsonKey(readValue: _oneSuffixReader) String? findFirstOrThrow, @JsonKey(readValue: _oneSuffixReader) String? findMany, @JsonKey(readValue: _oneSuffixReader) String? create, @JsonKey(readValue: _oneSuffixReader) String? createMany, @JsonKey(readValue: _oneSuffixReader) String? update, @JsonKey(readValue: _oneSuffixReader) String? updateMany, @JsonKey(readValue: _oneSuffixReader) String? upsert, @JsonKey(readValue: _oneSuffixReader) String? delete, @JsonKey(readValue: _oneSuffixReader) String? deleteMany, @JsonKey(readValue: _oneSuffixReader) String? aggregate, @JsonKey(readValue: _oneSuffixReader) String? groupBy, @JsonKey(readValue: _oneSuffixReader) String? count, @JsonKey(readValue: _oneSuffixReader) String? findRaw, @JsonKey(readValue: _oneSuffixReader) String? aggregateRaw})
const
factory
ModelMapping.fromJson(Map<String, dynamic> json)
factory

Properties

aggregate String?
no setterinherited
aggregateRaw String?
no setterinherited
copyWith → $ModelMappingCopyWith<ModelMapping>
no setterinherited
count String?
no setterinherited
create String?
no setterinherited
createMany String?
no setterinherited
delete String?
no setterinherited
deleteMany String?
no setterinherited
findFirst String?
no setterinherited
findFirstOrThrow String?
no setterinherited
findMany String?
no setterinherited
findRaw String?
no setterinherited
findUnique String?
no setterinherited
findUniqueOrThrow String?
no setterinherited
groupBy String?
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
model String
no setterinherited
plural String?
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
update String?
no setterinherited
updateMany String?
no setterinherited
upsert String?
no setterinherited

Methods

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

Operators

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