KeyValue constructor

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

Implementation

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