BatchRequestItem class

Individual request item for batch creation.

Annotations
  • @immutable

Constructors

BatchRequestItem({required String customId, required MessageCreateRequest params})
Creates a BatchRequestItem.
const
BatchRequestItem.fromJson(Map<String, dynamic> json)
Creates a BatchRequestItem from JSON.
factory

Properties

customId String
Custom identifier for this request.
final
hashCode int
The hash code for this object.
no setteroverride
params MessageCreateRequest
The request parameters for message creation.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Operators

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