ConversationLogsResponse.fromJson constructor

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

Implementation

factory ConversationLogsResponse.fromJson(Map<String, dynamic> json) {
  return ConversationLogsResponse(
    iamRoleArn: json['iamRoleArn'] as String?,
    logSettings: (json['logSettings'] as List?)
        ?.whereNotNull()
        .map((e) => LogSettingsResponse.fromJson(e as Map<String, dynamic>))
        .toList(),
  );
}