fromJson static method

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

Implementation

static MessageReference fromJson(Map<String, dynamic> json) {
  return MessageReference(
    messageId: json['message_id'],
    channelId: json['channel_id'],
    guildId: json['guild_id'],
    failIfNotExists: json['fail_if_not_exists'],
  );
}