IotEventsAction.fromJson constructor

IotEventsAction.fromJson(
  1. Map<String, dynamic> json
)

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,
  );
}