GetBotAliasResponse.fromJson constructor

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

Implementation

factory GetBotAliasResponse.fromJson(Map<String, dynamic> json) {
  return GetBotAliasResponse(
    botName: json['botName'] as String?,
    botVersion: json['botVersion'] as String?,
    checksum: json['checksum'] as String?,
    conversationLogs: json['conversationLogs'] != null
        ? ConversationLogsResponse.fromJson(
            json['conversationLogs'] as Map<String, dynamic>)
        : null,
    createdDate: timeStampFromJson(json['createdDate']),
    description: json['description'] as String?,
    lastUpdatedDate: timeStampFromJson(json['lastUpdatedDate']),
    name: json['name'] as String?,
  );
}