fromJsonColor static method

Color fromJsonColor(
  1. String? value, [
  2. int? defaultColor
])

Implementation

static Color fromJsonColor(
  String? value, [
  int? defaultColor,
]) =>
    ColorValidator().parse(value) ?? Color(defaultColor ?? 0x00000000);