randomColor static method

String randomColor([
  1. num? min,
  2. num? max
])

This static function can be used to generate a random color.

Implementation

static _i2.String randomColor([
  _i2.num? min,
  _i2.num? max,
]) =>
    _i4.callMethod(
      _declaredBrush,
      'randomColor',
      [
        min ?? _i5.undefined,
        max ?? _i5.undefined,
      ],
    );