populateWebCommonFields method

void populateWebCommonFields(
  1. dynamic map
)

Implementation

void populateWebCommonFields(dynamic map) {
  _type = PdfFormFieldTypes.values.firstWhere((element) =>
      element.nativeName == map['type'] || element.name == map['type']);
  _name = map['name'];
  _alternativeFieldName = map['label'];
  _isReadOnly = map['readOnly'];
  _isRequired = map['required'];
  _isExported = map['noExport'];
}