Map<String, dynamic> toJson() => { "continuationToken": continuationToken, "error": error.toJson(), "result": result.toJson(), };