toString method

  1. @override
String toString ()
override

Returns a string representation of this object.

Implementation

@override
String toString() {
  var result = 'ObjectBoxException: ';
  if (dartMsg != null) result += dartMsg + ': ';
  if (nativeCode != 0) result += '$nativeCode ';
  return result + nativeMsg;
}