ClimateProductPricingUpdatedEvent.fromJson constructor

ClimateProductPricingUpdatedEvent.fromJson(
  1. Object? json
)

Implementation

factory ClimateProductPricingUpdatedEvent.fromJson(Object? json) {
  final map = (json as Map).cast<String, Object?>();
  return ClimateProductPricingUpdatedEvent(
      object: ClimateProduct.fromJson(map['object']));
}