MessageEmbedAuthor.fromJson constructor

MessageEmbedAuthor.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory MessageEmbedAuthor.fromJson(Map<String, dynamic> json) {
  return MessageEmbedAuthor(
    name: json['name'],
    url: json['url'],
    iconUrl: json['icon_url'],
    proxyIconUrl: json['proxy_icon_url'],
  );
}