SessionInfoMessage class

A newly created TranslationSession.

Constructors

SessionInfoMessage({required int handle, LanguageMessage? sourceLanguage, LanguageMessage? targetLanguage, required bool canRequestDownloads, StrategyMessage? preferredStrategy})

Properties

canRequestDownloads ↔ bool
getter/setter pair
handle ↔ int
getter/setter pair
hashCode → int
The hash code for this object.
no setteroverride
preferredStrategy ↔ StrategyMessage?
Null before iOS 26.4 / macOS 26.4.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sourceLanguage ↔ LanguageMessage?
getter/setter pair
targetLanguage ↔ LanguageMessage?
getter/setter pair

Methods

encode() → Object
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
override

Static Methods

decode(Object result) → SessionInfoMessage