RequestMetadata class

Request metadata for tracking and analytics

Constructors

RequestMetadata.new({String? userId, Map<String, dynamic>? customData})
const
RequestMetadata.fromJson(Map<String, dynamic> json)
factory

Properties

customData Map<String, dynamic>?
Additional custom metadata
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
userId String?
External identifier for the user associated with the request
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited