ClimateOrderCreatedEvent.fromJson constructor

ClimateOrderCreatedEvent.fromJson(
  1. Object? json
)

Implementation

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