Attribute.fromJson constructor

Attribute.fromJson(
  1. dynamic json
)

Implementation

factory Attribute.fromJson(dynamic json) => Attribute(
      id: json[_JSON_TAG_ID] as String,
      name: json[_JSON_TAG_NAME] as String?,
      title: json[_JSON_TAG_TITLE] as String?,
      iconUrl: json[_JSON_TAG_ICON_URL] as String?,
      defaultF: json[_JSON_TAG_DEFAULT] as String?,
      settingNote: json[_JSON_TAG_SETTING_NOTE] as String?,
      settingName: json[_JSON_TAG_SETTING_NAME] as String?,
      description: json[_JSON_TAG_DESCRIPTION] as String?,
      descriptionShort: json[_JSON_TAG_DESCRIPTION_SHORT] as String?,
      match: JsonObject.parseDouble(json[_JSON_TAG_MATCH]),
      status: json[_JSON_TAG_STATUS] as String?,
      panelId: json[_JSON_TAG_PANEL_ID] as String?,
    );