Attribute constructor

Attribute({
  1. String? key,
  2. String? value,
})

Implementation

factory Attribute({
  $core.String? key,
  $core.String? value,
}) {
  final _result = create();
  if (key != null) {
    _result.key = key;
  }
  if (value != null) {
    _result.value = value;
  }
  return _result;
}