ThemeIcon constructor

ThemeIcon(
  1. String id, [
  2. ThemeColor? color
])

Implementation

factory ThemeIcon(
  _i2.String id, [
  _i3.ThemeColor? color,
]) =>
    _i5.callConstructor(
      _declaredThemeIcon,
      [
        id,
        color ?? _i6.undefined,
      ],
    );