ComplyCubeColorScheme.fromJson constructor

ComplyCubeColorScheme.fromJson(
  1. Map<String, dynamic> json
)

Implementation

ComplyCubeColorScheme.fromJson(Map<String, dynamic> json) {
  headerTitle = HexColor.fromHex(json["headerTitle"]);
  subheaderTitle = HexColor.fromHex(json["subheaderTitle"]);
  textSecondary = HexColor.fromHex(json["textSecondary"]);
  docTypeBgColor = HexColor.fromHex(json["docTypeBgColor"]);
  docTypeTextColor = HexColor.fromHex(json["docTypeTextColor"]);
  docTypeBorderColor = HexColor.fromHex(json["docTypeBorderColor"]);
  textItemType = HexColor.fromHex(json["textItemType"]);
  blueBigType = HexColor.fromHex(json["blueBigType"]);
  primaryButtonBgColor = HexColor.fromHex(json["primaryButtonBgColor"]);
  primaryButtonPressedBgColor = HexColor.fromHex(json["primaryButtonPressedBgColor"]);
  primaryButtonBorderColor = HexColor.fromHex(json["primaryButtonBorderColor"]);
  primaryButtonTextColor = HexColor.fromHex(json["primaryButtonTextColor"]);
  secondaryButtonBgColor = HexColor.fromHex(json["secondaryButtonBgColor"]);
  secondaryButtonPressedBgColor = HexColor.fromHex(json["secondaryButtonPressedBgColor"]);
  secondaryButtonBorderColor = HexColor.fromHex(json["secondaryButtonBorderColor"]);
  secondaryButtonTextColor = HexColor.fromHex(json["secondaryButtonTextColor"]);
  linkButtonTextColor = HexColor.fromHex(json["linkButtonTextColor"]);
  popUpBgColor = HexColor.fromHex(json["popUpBgColor"]);
  popUpTitleColor = HexColor.fromHex(json["popUpTitleColor"]);
}