toString method

  1. @override
String toString ()
override

Returns a string representation of this object.

Implementation

@override
String toString() {
  if (ticker != null)
    return 'This ticker was canceled: $ticker';
  return 'The ticker was canceled before the "orCancel" property was first used.';
}