DiagStep class

Một dòng trong bảng "Đo lường chi tiết".

Constructors

DiagStep({required String id, required String label, DiagStatus status = DiagStatus.pending, String? value, String? detail, Duration? elapsed})
const

Properties

detail → String?
Thông tin phụ / message lỗi, hiển thị dưới dạng dòng nhỏ khi có.
final
elapsed → Duration?
Thời gian đo được (nếu bước đó có ý nghĩa thời gian).
final
hashCode → int
The hash code for this object.
no setterinherited
id → String
Khoá ổn định, dùng để update đúng dòng.
final
label → String
Nhãn hiển thị bên trái: "DNS Lookup", "Google", ...
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
status → DiagStatus
final
value → String?
Text hiển thị bên phải: "10ms → 27.118.16.1", "112ms (HTTP 200)".
final

Methods

copyWith({DiagStatus? status, String? value, String? detail, Duration? elapsed}) → DiagStep
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.
inherited