FilledField.fromJson constructor

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

Implementation

factory FilledField.fromJson(Map<String, dynamic> json) {
  return FilledField(
    htmlType: json['htmlType'] as String,
    id: json['id'] as String,
    name: json['name'] as String,
    value: json['value'] as String,
    autofillType: json['autofillType'] as String,
    fillingStrategy:
        FillingStrategy.fromJson(json['fillingStrategy'] as String),
    frameId: page.FrameId.fromJson(json['frameId'] as String),
    fieldId: dom.BackendNodeId.fromJson(json['fieldId'] as int),
  );
}