JavascriptDialogClosedEvent.fromJson constructor

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

Implementation

factory JavascriptDialogClosedEvent.fromJson(Map<String, dynamic> json) {
  return JavascriptDialogClosedEvent(
    result: json['result'] as bool? ?? false,
    userInput: json['userInput'] as String,
  );
}