NatureChatInitRequest class
Nature Expert 聊天的 Dart 模型 + 流式回调。
请求字段以服务端真实契约为准(部分为 snake_case:bird_scientific_name / admin_user_id …), toJson() 输出的 key 与原生 Android(FastJSON @JSONField)/ iOS(Codable CodingKeys)一致。 可选字段为 null 时不输出(对齐"有值才发")。
Constructors
Properties
- adminUserId ↔ String?
-
共享设备主人的 userId;访客据此继承主人会员 + 决定 isSharedSession。
getter/setter pair
- birdImage ↔ String?
-
鸟类图片 URL。
getter/setter pair
- birdName ↔ String?
-
鸟类常见名。
getter/setter pair
- birdScientificName ↔ String?
-
鸟类学名(拉丁)。init 当前不读;/message 用于 bird_lookup。
getter/setter pair
- birdStory ↔ String?
-
鸟类故事 / 视频摘要。
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- language ↔ String?
-
回复 / 引导问题语言(zh/en…);后端默认 en,zh* → zh。
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- source ↔ String?
-
入口标记:"collection"(鸟库)时免费用户也返回 initialQuestions;否则仅 premium。
getter/setter pair
- tenantId ↔ String?
-
租户标识;仅透传 context/telemetry。
getter/setter pair
- timezone ↔ String?
-
IANA 时区(如 Asia/Shanghai);免费配额按本地日重置。
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited