isLogEvent static method

bool isLogEvent(
  1. Map<String, dynamic> payload
)

PrismaEvent payload is a log PrismaEvent.

Implementation

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