Inspector class

Inspector provides tools for analyzing Sessions.

Constructors

Inspector(List<Session> sessions)

Properties

hashCode int
The hash code for this object.
no setterinherited
movementNames List<String>
List of unique Movement names in the Sessions.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sessions List<Session>
getter/setter pair

Methods

export({String indenter = ' ', String linebreaker = '\r\n', String spacer = ' '}) String
Export all Sessions as a single Traindown string. Good for dumping and sharing.
metadataByKey([TraindownScope scope = TraindownScope.session]) Map<String, Set<String>>
Map keyed by string that contains all seen values of the given key.
movementOccurances(String movementName) List<MovementSearchResult>
Fetch all occurrances of a Movement as queried by a fuzzy name match.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
sessionQuery({Map<String, String> metaLike = const {}}) List<Session>
List of Sessions matching the search criteria. metaLike will match against all key value pairs provided in a case insensitve manner.
toString() String
A string representation of this object.
inherited

Operators

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

Constants

ScopePriority → const Map<TraindownScope, int>
Stack rank of scopes in terms of depth priority.