BindingCalledEvent.fromJson constructor

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

Implementation

factory BindingCalledEvent.fromJson(Map<String, dynamic> json) {
  return BindingCalledEvent(
    name: json['name'] as String,
    payload: json['payload'] as String,
    executionContextId:
        ExecutionContextId.fromJson(json['executionContextId'] as int),
  );
}