EvaluateOnCallFrameResult.fromJson constructor

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

Implementation

factory EvaluateOnCallFrameResult.fromJson(Map<String, dynamic> json) {
  return EvaluateOnCallFrameResult(
    result: runtime.RemoteObject.fromJson(
      json['result'] as Map<String, dynamic>,
    ),
    exceptionDetails:
        json.containsKey('exceptionDetails')
            ? runtime.ExceptionDetails.fromJson(
              json['exceptionDetails'] as Map<String, dynamic>,
            )
            : null,
  );
}