CommandCreateInviteLink.fromJson constructor

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

Implementation

factory CommandCreateInviteLink.fromJson(Map<String, dynamic> json) => CommandCreateInviteLink(
  channel: json['channel'] == null ? null : json['channel'] as String,
  description: json['description'] == null ? null : json['description'] as String,
);