fromJson static method

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

Implementation

static ModelFieldGetAttribute fromJson(Map<String, dynamic> json) {
  return ModelFieldGetAttribute(
    fieldID: json['field_id'],
    index: json['index'],
    subField: json['sub_field'] != null
        ? ModelFieldGetAttribute.fromJson(json['sub_field'])
        : null,
  );
}