trackerString method

  1. @override
String? trackerString(
  1. TrackerField field
)
override

Returns a formatted String value associated with field in this object.

Implementation

@override
String? trackerString(TrackerField field) {
  switch (field.title) {
    case ReadyValidTracker.timeField:
      return Simulator.time.toString();
    case ReadyValidTracker.dataField:
      return data.toString();
  }

  return null;
}