BotShortDescription.fromJson constructor

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

Creates the Bot Short Description object from a JSON object.

Implementation

factory BotShortDescription.fromJson(Map<String, dynamic> json) {
  return BotShortDescription(
    shortDescription: json['short_description'] as String,
  );
}