Color.fromJson constructor

Color.fromJson(
  1. Map json_
)

Implementation

Color.fromJson(core.Map json_)
  : this(
      rgbColor:
          json_.containsKey('rgbColor')
              ? RgbColor.fromJson(
                json_['rgbColor'] as core.Map<core.String, core.dynamic>,
              )
              : null,
    );