ApiLogger constructor

ApiLogger({
  1. bool enabled = true,
  2. bool? useColors,
})

Implementation

ApiLogger({this.enabled = true, bool? useColors})
  : useColors = useColors ?? _shouldUseColors();