Attribute.fromJson constructor

Attribute.fromJson(
  1. String data
)

dart:convert

Parses the string and returns the resulting Json object as Attribute.

Implementation

factory Attribute.fromJson(String data) {
  return Attribute.fromMap(json.decode(data) as Map<String, dynamic>);
}