SkuDetails.fromMap constructor

SkuDetails.fromMap(
  1. Map skuDetailsMap
)

Implementation

factory SkuDetails.fromMap(Map<dynamic, dynamic> skuDetailsMap) {
  return SkuDetails(
    skuDetailsMap['sku'] as String,
    skuDetailsMap['type'] as String,
    skuDetailsMap['price'] as String,
    skuDetailsMap['title'] as String,
    skuDetailsMap['description'] as String,
  );
}