setMetadata static method

Future<void> setMetadata(
  1. String key,
  2. String value
)

Adds metadata to the new tickets.

Implementation

static Future<void> setMetadata(String key, String value) async {
  await _channel.invokeMethod('setMetadata', {
    'key': key,
    'value': value,
  });
}