Print function

int Print(
  1. Object? v1, [
  2. Object? v2,
  3. Object? v3,
  4. Object? v4,
  5. Object? v5,
  6. Object? v6,
])

Prints values to Writer without a trailing newline.

Concatenates all non-null values without separators. Returns the number of characters written.

Print('Hello, ', 'world'); // Outputs: Hello, world

Implementation

int Print(
  Object? v1, [
  Object? v2,
  Object? v3,
  Object? v4,
  Object? v5,
  Object? v6,
]) => PrintAll([v1, v2, v3, v4, v5, v6].where((it) => it != null));