Attribute.fromJson constructor

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

Implementation

factory Attribute.fromJson(Map<String, dynamic> json) {
  return Attribute(
    attributeType:
        (json['AttributeType'] as String?)?.toInstanceAttributeType(),
    value: json['Value'] as String?,
  );
}