Console constructor

Console({
  1. void assert$([
    1. bool?,
    2. Iterable?
    ])?,
  2. void clear()?,
  3. void count([
    1. String?
    ])?,
  4. void countReset([
    1. String?
    ])?,
  5. void debug([
    1. Iterable?
    ])?,
  6. void dir([
    1. dynamic,
    2. dynamic
    ])?,
  7. void dirxml([
    1. Iterable?
    ])?,
  8. void error([
    1. Iterable?
    ])?,
  9. void group([
    1. Iterable?
    ])?,
  10. void groupCollapsed([
    1. Iterable?
    ])?,
  11. void groupEnd()?,
  12. void info([
    1. Iterable?
    ])?,
  13. void log([
    1. Iterable?
    ])?,
  14. void table([
    1. dynamic,
    2. List<String>?
    ])?,
  15. void time([
    1. String?
    ])?,
  16. void timeEnd([
    1. String?
    ])?,
  17. void timeLog([
    1. String?,
    2. Iterable?
    ])?,
  18. void timeStamp([
    1. String?
    ])?,
  19. void trace([
    1. Iterable?
    ])?,
  20. void warn([
    1. Iterable?
    ])?,
})

Implementation

factory Console({
  void Function([
    _i2.bool?,
    _i2.Iterable<_i2.dynamic>?,
  ])? assert$,
  void Function()? clear,
  void Function([_i2.String?])? count,
  void Function([_i2.String?])? countReset,
  void Function([_i2.Iterable<_i2.dynamic>?])? debug,
  void Function([
    _i2.dynamic,
    _i2.dynamic,
  ])? dir,
  void Function([_i2.Iterable<_i2.dynamic>?])? dirxml,
  void Function([_i2.Iterable<_i2.dynamic>?])? error,
  void Function([_i2.Iterable<_i2.dynamic>?])? group,
  void Function([_i2.Iterable<_i2.dynamic>?])? groupCollapsed,
  void Function()? groupEnd,
  void Function([_i2.Iterable<_i2.dynamic>?])? info,
  void Function([_i2.Iterable<_i2.dynamic>?])? log,
  void Function([
    _i2.dynamic,
    _i2.List<_i2.String>?,
  ])? table,
  void Function([_i2.String?])? time,
  void Function([_i2.String?])? timeEnd,
  void Function([
    _i2.String?,
    _i2.Iterable<_i2.dynamic>?,
  ])? timeLog,
  void Function([_i2.String?])? timeStamp,
  void Function([_i2.Iterable<_i2.dynamic>?])? trace,
  void Function([_i2.Iterable<_i2.dynamic>?])? warn,
}) =>
    Console._(
      assert$: assert$ == null
          ? null
          : _i4.allowInterop(([
              _i2.bool? v0,
              a0,
              a1,
              a2,
              a3,
              a4,
              a5,
              a6,
              a7,
              a8,
              a9,
            ]) =>
              assert$(
                v0,
                [
                  a0,
                  a1,
                  a2,
                  a3,
                  a4,
                  a5,
                  a6,
                  a7,
                  a8,
                  a9,
                ],
              )),
      clear: clear == null ? null : _i4.allowInterop(clear),
      count: count == null ? null : _i4.allowInterop(count),
      countReset: countReset == null ? null : _i4.allowInterop(countReset),
      debug: debug == null
          ? null
          : _i4.allowInterop(([
              a0,
              a1,
              a2,
              a3,
              a4,
              a5,
              a6,
              a7,
              a8,
              a9,
            ]) =>
              debug([
                a0,
                a1,
                a2,
                a3,
                a4,
                a5,
                a6,
                a7,
                a8,
                a9,
              ])),
      dir: dir == null ? null : _i4.allowInterop(dir),
      dirxml: dirxml == null
          ? null
          : _i4.allowInterop(([
              a0,
              a1,
              a2,
              a3,
              a4,
              a5,
              a6,
              a7,
              a8,
              a9,
            ]) =>
              dirxml([
                a0,
                a1,
                a2,
                a3,
                a4,
                a5,
                a6,
                a7,
                a8,
                a9,
              ])),
      error: error == null
          ? null
          : _i4.allowInterop(([
              a0,
              a1,
              a2,
              a3,
              a4,
              a5,
              a6,
              a7,
              a8,
              a9,
            ]) =>
              error([
                a0,
                a1,
                a2,
                a3,
                a4,
                a5,
                a6,
                a7,
                a8,
                a9,
              ])),
      group: group == null
          ? null
          : _i4.allowInterop(([
              a0,
              a1,
              a2,
              a3,
              a4,
              a5,
              a6,
              a7,
              a8,
              a9,
            ]) =>
              group([
                a0,
                a1,
                a2,
                a3,
                a4,
                a5,
                a6,
                a7,
                a8,
                a9,
              ])),
      groupCollapsed: groupCollapsed == null
          ? null
          : _i4.allowInterop(([
              a0,
              a1,
              a2,
              a3,
              a4,
              a5,
              a6,
              a7,
              a8,
              a9,
            ]) =>
              groupCollapsed([
                a0,
                a1,
                a2,
                a3,
                a4,
                a5,
                a6,
                a7,
                a8,
                a9,
              ])),
      groupEnd: groupEnd == null ? null : _i4.allowInterop(groupEnd),
      info: info == null
          ? null
          : _i4.allowInterop(([
              a0,
              a1,
              a2,
              a3,
              a4,
              a5,
              a6,
              a7,
              a8,
              a9,
            ]) =>
              info([
                a0,
                a1,
                a2,
                a3,
                a4,
                a5,
                a6,
                a7,
                a8,
                a9,
              ])),
      log: log == null
          ? null
          : _i4.allowInterop(([
              a0,
              a1,
              a2,
              a3,
              a4,
              a5,
              a6,
              a7,
              a8,
              a9,
            ]) =>
              log([
                a0,
                a1,
                a2,
                a3,
                a4,
                a5,
                a6,
                a7,
                a8,
                a9,
              ])),
      table: table == null ? null : _i4.allowInterop(table),
      time: time == null ? null : _i4.allowInterop(time),
      timeEnd: timeEnd == null ? null : _i4.allowInterop(timeEnd),
      timeLog: timeLog == null
          ? null
          : _i4.allowInterop(([
              _i2.String? v0,
              a0,
              a1,
              a2,
              a3,
              a4,
              a5,
              a6,
              a7,
              a8,
              a9,
            ]) =>
              timeLog(
                v0,
                [
                  a0,
                  a1,
                  a2,
                  a3,
                  a4,
                  a5,
                  a6,
                  a7,
                  a8,
                  a9,
                ],
              )),
      timeStamp: timeStamp == null ? null : _i4.allowInterop(timeStamp),
      trace: trace == null
          ? null
          : _i4.allowInterop(([
              a0,
              a1,
              a2,
              a3,
              a4,
              a5,
              a6,
              a7,
              a8,
              a9,
            ]) =>
              trace([
                a0,
                a1,
                a2,
                a3,
                a4,
                a5,
                a6,
                a7,
                a8,
                a9,
              ])),
      warn: warn == null
          ? null
          : _i4.allowInterop(([
              a0,
              a1,
              a2,
              a3,
              a4,
              a5,
              a6,
              a7,
              a8,
              a9,
            ]) =>
              warn([
                a0,
                a1,
                a2,
                a3,
                a4,
                a5,
                a6,
                a7,
                a8,
                a9,
              ])),
    );