Attribute constructor

const Attribute({
  1. required dynamic label,
  2. required String value,
})

Implementation

const Attribute({required label, required this.value}) : _label = label;