$RgbColor.fromJson constructor

$RgbColor.fromJson(
  1. Map json_
)

Implementation

$RgbColor.fromJson(core.Map json_)
    : this(
        blue: (json_['blue'] as core.num?)?.toDouble(),
        green: (json_['green'] as core.num?)?.toDouble(),
        red: (json_['red'] as core.num?)?.toDouble(),
      );