JavaScriptResponse.fromJson constructor

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

Implementation

JavaScriptResponse.fromJson(Map<String, dynamic> json)
    : type = json['type'],
      payload = json['payload'];