UiFeedbackElementAttributesConfig.fromJson constructor

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

Implementation

factory UiFeedbackElementAttributesConfig.fromJson(
        Map<String, dynamic> json) =>
    UiFeedbackElementAttributesConfig(
      backgroundColor: json["backgroundColor"],
      imageScaleType: imageScaleTypeValues.map[json["imageScaleType"]],
      textAlignment: textAlignmentValues.map[json["textAlignment"]],
      textColor: json["textColor"],
    );