InspectLogs class

What the demo printed.

Pure Dart, like every model here, because fw links it and cannot link package:flutter/widgets.dart.

Constructors

InspectLogs({required String? entryId, List<InspectLogLine> lines = const [], int dropped = 0})
const

Properties

dropped → int
How many lines fell off the front of the buffer.
final
entryId → String?
Which entry was on screen when these were printed. The same rule InspectTree.entryId and InspectErrors.entryId follow: a report naming another entry is a read from before a switch, not an empty one.
final
hashCode → int
The hash code for this object.
no setterinherited
isEmpty → bool
no setter
lines → List<InspectLogLine>
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, Object?>
toString() → String
A string representation of this object.
inherited

Operators

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

Static Methods

fromJson(Map<String, Object?> json) → InspectLogs

Constants

empty → const InspectLogs