createKey method
Implementation
Future<CatalogRow> createKey({
required String keyPath,
required Map<String, dynamic> valuesByLocale,
String? note,
}) async {
final row = await _client.addKey(
keyPath: keyPath,
valuesByLocale: valuesByLocale,
note: note,
markGreenIfComplete: true,
);
_queue.upsertRow(row);
await _queue.refreshSummary();
return row;
}