ClimateOrderCanceledEvent.fromJson constructor

ClimateOrderCanceledEvent.fromJson(
  1. Object? json
)

Implementation

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