ClimateOrderProductSubstitutedEvent.fromJson constructor

ClimateOrderProductSubstitutedEvent.fromJson(
  1. Object? json
)

Implementation

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