FlowExecutionMessage.fromJson constructor

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

Implementation

factory FlowExecutionMessage.fromJson(Map<String, dynamic> json) {
  return FlowExecutionMessage(
    eventType: (json['eventType'] as String?)?.toFlowExecutionEventType(),
    messageId: json['messageId'] as String?,
    payload: json['payload'] as String?,
    timestamp: timeStampFromJson(json['timestamp']),
  );
}