IotEventsAction.fromJson constructor
Implementation
factory IotEventsAction.fromJson(Map<String, dynamic> json) {
return IotEventsAction(
inputName: json['inputName'] as String,
payload: json['payload'] != null
? Payload.fromJson(json['payload'] as Map<String, dynamic>)
: null,
);
}