CreateBotResponse.fromJson constructor

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

Implementation

factory CreateBotResponse.fromJson(Map<String, dynamic> json) {
  return CreateBotResponse(
    bot: json['Bot'] != null
        ? Bot.fromJson(json['Bot'] as Map<String, dynamic>)
        : null,
  );
}