MapAgentClientInfo class
Khối client (§3.7) — lời khai để agent chẩn đoán và hiểu "mai 8h
sáng"; không bao giờ dùng để phân quyền. KHÔNG có locale: ngôn ngữ trả lời
theo câu người dùng gõ — ngôn ngữ máy không phải của người đang gõ (protocol
bỏ trường này 2026-10-11).
Constructors
- MapAgentClientInfo({required String name, required String version, required String platform, String? timeZone, int? utcOffsetMinutes, String? instanceId, String? mapLibreVersion})
-
const
- MapAgentClientInfo.current({String? timeZone, String? instanceId})
-
Giá trị mặc định đọc từ nền tảng đang chạy. Gọi mỗi request — múi giờ
đổi được giữa phiên (§3.7).
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- instanceId → String?
-
final
- mapLibreVersion → String?
-
final
- name → String
-
final
- platform → String
-
web·ios·android·desktop·server·other.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- timeZone → String?
-
Tên IANA (
Asia/Ho_Chi_Minh). Dart không đọc được tên IANA của máy, nên mặc định chỉ gửi utcOffsetMinutes; app có tên thì truyền vào đây.final - utcOffsetMinutes → int?
-
final
- version → String
-
final
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