toEntity method

  1. @override
ShopEntity toEntity({
  1. String? appId,
})
override

Implementation

@override
ShopEntity toEntity({String? appId}) {
  return ShopEntity(
    appId: appId,
    description: (description != null) ? description : null,
    shortDescription: (shortDescription != null) ? shortDescription : null,
    currency: (currency != null) ? currency : null,
    conditions:
        (conditions != null) ? conditions!.toEntity(appId: appId) : null,
  );
}