toString method

  1. @override
String toString()
override

Human-readable string representation.

Implementation

@override
String toString() {
  if (id == null) {
    return '$runtimeType-UUID: $uuid';
  } else {
    return '$runtimeType-ID: $id';
  }
}