Attribute.fromJson constructor

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

Implementation

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