EvaluateResult.fromJson constructor

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

Implementation

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