log method

E log([
  1. String key = '@'
])

Logs the object with an optional key and returns the object.

Implementation

E log([String key = '@']) {
  d.log('$key:${toString()}');
  return this;
}