GetBotVersionsResponse.fromJson constructor
Implementation
factory GetBotVersionsResponse.fromJson(Map<String, dynamic> json) {
return GetBotVersionsResponse(
bots: (json['bots'] as List?)
?.whereNotNull()
.map((e) => BotMetadata.fromJson(e as Map<String, dynamic>))
.toList(),
nextToken: json['nextToken'] as String?,
);
}