FirehoseAction.fromJson constructor

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

Implementation

factory FirehoseAction.fromJson(Map<String, dynamic> json) {
  return FirehoseAction(
    deliveryStreamName: json['deliveryStreamName'] as String,
    payload: json['payload'] != null
        ? Payload.fromJson(json['payload'] as Map<String, dynamic>)
        : null,
    separator: json['separator'] as String?,
  );
}