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