OrderItemEntity class
Constructors
- OrderItemEntity({int? amount, required String? appId, double? soldPrice, String? productId})
Properties
Methods
-
copyWith(
{String? documentID, int? amount, String? appId, double? soldPrice, String? productId}) → OrderItemEntity -
enrichedDocument(
Map< String, Object?> theDocument) → Future<Map< String, Object?> > -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
switchAppId(
{required String newAppId}) → OrderItemEntity -
override
-
toDocument(
) → Map< String, Object?> -
override
-
toJsonString(
) → String -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromJsonString(
String json, {Map< String, String> ? newDocumentIds}) → OrderItemEntity? -
fromMap(
Object? o, {Map< String, String> ? newDocumentIds}) → OrderItemEntity?