FormField.fromJson constructor

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

Implementation

factory FormField.fromJson(Map<String, dynamic> json) {
  return FormField(
    fielId: json["field"] ?? "",
    inputValidation: json["inputvalidation"] ?? "",
    label: json["label"] ?? "",
    placeholder: json["placeholder"] ?? "",
    required: json["required"] ?? "",
    type: json["type"] ?? "",
    validationText: json["validationtext"] ?? "",
  );
}