BotName.fromJson constructor

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

Constructs BotName from JSON

Implementation

factory BotName.fromJson(Map<String, dynamic> json) {
  return BotName(
    name: json['name'],
  );
}