NatureChatInitResponse class

Constructors

NatureChatInitResponse({bool? canAsk, List<String>? initialQuestions, String? birdMembershipType, bool? isSharedSession, int? result, String? msg})
NatureChatInitResponse.fromJson(Map<String, dynamic> json)
factory

Properties

birdMembershipType String?
实际会员等级:"premium" / "free"(含共享继承)。
getter/setter pair
canAsk bool?
今天是否还能(免费)问;premium 恒 true。
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
initialQuestions List<String>?
引导问题(≤3);premium 或 source=="collection" 时返回,否则空。
getter/setter pair
isSharedSession bool?
是否共享会话。
getter/setter pair
msg String?
getter/setter pair
result int?
iot-service 拦截标记(正常响应不含 result)。
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

isIotIntercepted() bool
鉴权失败(iot 拦截):HTTP 200 + result<0。为 true 时勿当成功,应引导重新登录。
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