log method

String log({
  1. dynamic context,
})

Log an info message.

Implementation

String log({dynamic context}) {
  final msg = context == null ? this : "$this\n$context";
  print(msg);
  return msg;
}