LanguageServiceBase class abstract

Inheritance
  • Object
  • GeneratedService
  • LanguageServiceBase

Constructors

LanguageServiceBase.new()

Properties

$json Map<String, dynamic>
no setter
$messageJson Map<String, Map<String, dynamic>>
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

analyzeEntities(ServerContext ctx, AnalyzeEntitiesRequest request) Future<AnalyzeEntitiesResponse>
analyzeEntitySentiment(ServerContext ctx, AnalyzeEntitySentimentRequest request) Future<AnalyzeEntitySentimentResponse>
analyzeSentiment(ServerContext ctx, AnalyzeSentimentRequest request) Future<AnalyzeSentimentResponse>
analyzeSyntax(ServerContext ctx, AnalyzeSyntaxRequest request) Future<AnalyzeSyntaxResponse>
annotateText(ServerContext ctx, AnnotateTextRequest request) Future<AnnotateTextResponse>
classifyText(ServerContext ctx, ClassifyTextRequest request) Future<ClassifyTextResponse>
createRequest(String method) → GeneratedMessage
Creates a message object that can deserialize a request.
override
handleCall(ServerContext ctx, String method, GeneratedMessage request) Future<GeneratedMessage>
Dispatches the call. The request object should come from createRequest.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited