toMap method

Map<String, Object?> toMap()

Implementation

Map<String, Object?> toMap() => {
      'entityId': entityId,
      if (payloadValue != null) 'payload': payloadValue!.toJson(),
      'firedAtMicros': firedAtMicros,
      'fireCount': fireCount,
    };