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