toEntity method
Implementation
@override
OrderOverviewEntity toEntity({String? appId}) {
return OrderOverviewEntity(
appId: appId,
description: (description != null) ? description : null,
shopId: (shop != null) ? shop!.documentID : null,
itemImageBackground: (itemImageBackground != null)
? itemImageBackground!.toEntity(appId: appId)
: null,
itemDetailBackground: (itemDetailBackground != null)
? itemDetailBackground!.toEntity(appId: appId)
: null,
conditions:
(conditions != null) ? conditions!.toEntity(appId: appId) : null,
);
}