annotation method

Annotations annotation(
  1. String key,
  2. String value
)

Implementation

Annotations annotation(String key, String value) {
  return Annotations({
    ...annotations,
    key: value,
  });
}