print method

String print([
  1. bool? prettyPrint
])

Implementation

String print([bool? prettyPrint]) {
  String keyStr = (key is ImmutableCollection)
      ? (key as ImmutableCollection).toString(prettyPrint)
      : key.toString();
  String valueStr = (value is ImmutableCollection)
      ? (value as ImmutableCollection).toString(prettyPrint)
      : value.toString();

  return "$keyStr: $valueStr";
}