GooglePrivacyDlpV2Color.fromJson constructor

GooglePrivacyDlpV2Color.fromJson(
  1. Map json_
)

Implementation

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