SenderInfo class
Configuration class to hold sender information for webhook messages.
This class encapsulates the username and avatar URL that can be used to customize the appearance of webhook messages sent to services like Discord or Telegram.
Constructors
- SenderInfo.new({String? username, String? avatarUrl})
-
Creates a SenderInfo instance.
const
-
SenderInfo.fromJson(Map<
String, dynamic> json) -
factory
Properties
Methods
-
copyWith(
{String? username, String? avatarUrl}) → SenderInfo - Creates a copy of this SenderInfo instance with updated values.
-
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.
override