getOperation static method
Get operation type from request bytes
Implementation
static String getOperation(Uint8List bytes) {
final json = utf8.decode(bytes);
final data = jsonDecode(json) as Map<String, dynamic>;
return data['operation'] as String? ?? 'unknown';
}