Console constructor
Console({
- void assert$([])?,
- void clear()?,
- void count([])?,
- void countReset([])?,
- void debug([])?,
- void dir([
- dynamic,
- dynamic
- void dirxml([])?,
- void error([])?,
- void group([])?,
- void groupCollapsed([])?,
- void groupEnd()?,
- void info([])?,
- void log([])?,
- void table([])?,
- void time([])?,
- void timeEnd([])?,
- void timeLog([])?,
- void timeStamp([])?,
- void trace([])?,
- void warn([])?,
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,
])),
);