toJson method

dynamic toJson()

Implementation

toJson() => {
      'attr': attr.toJson(),
      'name': name,
      'description': description,
      'data': data,
    };