GoogleAppsDriveLabelsV2BadgeColors.fromJson constructor

GoogleAppsDriveLabelsV2BadgeColors.fromJson(
  1. Map json_
)

Implementation

GoogleAppsDriveLabelsV2BadgeColors.fromJson(core.Map json_)
    : this(
        backgroundColor: json_.containsKey('backgroundColor')
            ? GoogleTypeColor.fromJson(json_['backgroundColor']
                as core.Map<core.String, core.dynamic>)
            : null,
        foregroundColor: json_.containsKey('foregroundColor')
            ? GoogleTypeColor.fromJson(json_['foregroundColor']
                as core.Map<core.String, core.dynamic>)
            : null,
        soloColor: json_.containsKey('soloColor')
            ? GoogleTypeColor.fromJson(
                json_['soloColor'] as core.Map<core.String, core.dynamic>)
            : null,
      );