toPublicMap method

Map<String, Object?> toPublicMap()

Implementation

Map<String, Object?> toPublicMap() {
  return {
    'windowStartedAt': windowStartedAt.toIso8601String(),
    'eventCount': eventCount,
  };
}