toString method

String toString()
override

String representation of Location for print to logs.

Implementation

String toString() {
  return '[LocationError code: $code, message: $message]';
}