isQueryEvent static method

dynamic isQueryEvent(
  1. Map<String, dynamic> payload
)

PrismaEvent payload is a query PrismaEvent

Implementation

static isQueryEvent(Map<String, dynamic> payload) {
  return payload['fields']['query'] != null;
}