toString method

  1. @override
String toString()
override

Returns a string representation of this ServiceError.

The format is: ServiceError(message, code: numeric_code)

Implementation

@override
String toString() => 'ServiceError($message, code: ${code.value})';