IDFlowTextConfig.fromJson constructor

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

Implementation

factory IDFlowTextConfig.fromJson(Map<String, dynamic> json) {
  return IDFlowTextConfig(
    fontRegular: json['fontRegular'],
    fontMedium: json['fontMedium'],
    fontBold: json['fontBold'],
    messageColor: json['messageColor'],
    countdownColor: json['countdownColor'],
    infoColor: json['infoColor'],
    instructionColor: json['instructionColor'],
    buttonColor: json['buttonColor'],
    previewColor: json['previewColor'],
    dialogColor: json['dialogColor'],
  );
}